Warning: Permanently added '54.91.246.248' (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/10723216-epel-10-aarch64 --chroot epel-10-aarch64 Version: 1.8 PID: 10715 Logging PID: 10717 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'bootstrap': 'off', 'build_id': 10723216, 'buildroot_pkgs': [], 'chroot': 'epel-10-aarch64', 'enable_net': False, 'fedora_review': False, 'git_hash': '59c5474f6926838b56c6aef54eaca89085ddce5c', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/dchen/el-pkgs/firebird', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'firebird', 'package_version': '5.0.4.1812-2', 'project_dirname': 'el-pkgs', 'project_name': 'el-pkgs', 'project_owner': 'dchen', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/dchen/el-pkgs/epel-10-aarch64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'dchen/el-pkgs--https://src.fedoraproject.org/user/releng', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'https://src.fedoraproject.org/user/releng', 'tags': [], 'task_id': '10723216-epel-10-aarch64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/dchen/el-pkgs/firebird /var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/dchen/el-pkgs/firebird', '/var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird'... Running: git checkout 59c5474f6926838b56c6aef54eaca89085ddce5c -- cmd: ['git', 'checkout', '59c5474f6926838b56c6aef54eaca89085ddce5c', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird rc: 0 stdout: stderr: Note: switching to '59c5474f6926838b56c6aef54eaca89085ddce5c'. 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 59c5474 automatic import of firebird Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird 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 Firebird-5.0.4.1812-0-source.tar.xz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o Firebird-5.0.4.1812-0-source.tar.xz --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/dchen/el-pkgs/firebird/Firebird-5.0.4.1812-0-source.tar.xz/md5/56a284e2ce4ed141066acf6e29eeb150/Firebird-5.0.4.1812-0-source.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 28.37M 100 28.37M 0 0 279.0M 0 0 INFO: Reading stdout from command: md5sum Firebird-5.0.4.1812-0-source.tar.xz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird/firebird.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1784157143.919165 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.7 starting (python version = 3.14.5, NVR = mock-6.7-1.fc44), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird/firebird.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-bhvgbe7_/firebird --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1784157143.919165 -r /var/lib/copr-rpmbuild/results/configs/child.cfg 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-bhvgbe7_/firebird/firebird.spec) Config(centos-stream+epel-10-aarch64) Start: clean chroot Finish: clean chroot Mock Version: 6.7 INFO: Mock Version: 6.7 Start: chroot init INFO: mounting tmpfs at /var/lib/mock/centos-stream+epel-10-aarch64-1784157143.919165/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 (fallback) INFO: Buildroot is handled by package management from host and used with --installroot: rpm-6.0.1-2.fc44.aarch64 rpm-sequoia-1.10.2-2.fc44.aarch64 python3-dnf-4.24.0-3.fc44.noarch python3-dnf-plugins-core-4.10.1-9.fc44.noarch dnf5-5.4.2.1-1.fc44.aarch64 dnf5-plugins-5.4.2.1-1.fc44.aarch64 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 67 kB/s | 12 kB 00:00 CentOS Stream 10 - BaseOS 14 MB/s | 9.4 MB 00:00 CentOS Stream 10 - AppStream 5.5 MB/s | 3.6 MB 00:00 CentOS Stream 10 - CRB 1.7 MB/s | 823 kB 00:00 CentOS Stream 10 - Extras packages 46 kB/s | 10 kB 00:00 Extra Packages for Enterprise Linux 10 - aarch6 19 MB/s | 6.9 MB 00:00 Dependencies resolved. ====================================================================================== Package Arch Version Repo Size ====================================================================================== Installing: bash aarch64 5.2.26-6.el10 baseos 1.8 M bzip2 aarch64 1.0.8-25.el10 baseos 54 k centos-stream-release noarch 10.0-23.el10 baseos 29 k coreutils aarch64 9.5-12.el10 baseos 1.1 M cpio aarch64 2.15-3.el10 baseos 290 k diffutils aarch64 3.10-8.el10 baseos 405 k epel-rpm-macros noarch 10-7.el10_3 epel 8.4 k findutils aarch64 1:4.10.0-5.el10 baseos 555 k gawk aarch64 5.3.0-6.el10 baseos 1.1 M glibc-minimal-langpack aarch64 2.39-128.el10 baseos 24 k grep aarch64 3.11-10.el10 baseos 298 k gzip aarch64 1.13-3.el10 baseos 168 k info aarch64 7.1-6.el10 baseos 182 k patch aarch64 2.7.6-26.el10 appstream 130 k redhat-rpm-config noarch 296-1.el10 appstream 73 k rpm-build aarch64 4.19.1.1-25.el10 appstream 76 k sed aarch64 4.9-5.el10 baseos 315 k shadow-utils aarch64 2:4.15.0-13.el10 baseos 1.3 M tar aarch64 2:1.35-11.el10 baseos 857 k unzip aarch64 6.0-69.el10 baseos 186 k util-linux aarch64 2.40.2-20.el10 baseos 1.2 M which aarch64 2.21-44.el10 baseos 42 k xz aarch64 1:5.6.2-4.el10 baseos 481 k Installing dependencies: R-srpm-macros noarch 1.3.7-2.el10_3 epel 11 k alternatives aarch64 1.30-2.el10 baseos 41 k ansible-srpm-macros noarch 1-21.el10_3 epel 20 k audit-libs aarch64 4.0.3-5.el10 baseos 129 k authselect aarch64 1.5.3-1.el10 baseos 229 k authselect-libs aarch64 1.5.3-1.el10 baseos 266 k basesystem noarch 11-22.el10 baseos 4.3 k binutils aarch64 2.41-65.el10 baseos 6.7 M binutils-gold aarch64 2.41-65.el10 baseos 936 k bzip2-libs aarch64 1.0.8-25.el10 baseos 42 k ca-certificates noarch 2025.2.80_v9.0.305-102.el10 baseos 1.1 M centos-gpg-keys noarch 10.0-23.el10 baseos 26 k centos-stream-repos noarch 10.0-23.el10 baseos 11 k coreutils-common aarch64 9.5-12.el10 baseos 2.1 M cracklib aarch64 2.9.11-8.el10 baseos 96 k cracklib-dicts aarch64 2.9.11-8.el10 baseos 3.6 M crypto-policies noarch 20260708-1.git988eb15.el10 baseos 96 k curl aarch64 8.12.1-6.el10 baseos 213 k cyrus-sasl-lib aarch64 2.1.28-27.el10 baseos 107 k debugedit aarch64 5.3-2.el10 appstream 87 k dwz aarch64 0.16-1.el10 appstream 137 k ed aarch64 1.20-5.el10 baseos 82 k efi-srpm-macros noarch 6-8.el10 appstream 23 k elfutils aarch64 0.195-1.el10 baseos 581 k elfutils-debuginfod-client aarch64 0.195-1.el10 baseos 43 k elfutils-default-yama-scope noarch 0.195-1.el10 baseos 8.6 k elfutils-libelf aarch64 0.195-1.el10 baseos 204 k elfutils-libs aarch64 0.195-1.el10 baseos 264 k file aarch64 5.45-12.el10 baseos 48 k file-libs aarch64 5.45-12.el10 baseos 761 k filesystem aarch64 3.18-17.el10 baseos 4.8 M fonts-srpm-macros noarch 1:2.0.5-18.el10 appstream 27 k forge-srpm-macros noarch 0.4.0-6.el10 appstream 21 k fpc-srpm-macros noarch 1.3-7.el10_1 epel 7.8 k gdb-minimal aarch64 16.3-3.el10 appstream 4.1 M gdbm aarch64 1:1.23-14.el10 baseos 150 k gdbm-libs aarch64 1:1.23-14.el10 baseos 56 k ghc-srpm-macros noarch 1.9.2-1.el10_0 epel 9.1 k glibc aarch64 2.39-128.el10 baseos 1.8 M glibc-common aarch64 2.39-128.el10 baseos 306 k glibc-gconv-extra aarch64 2.39-128.el10 baseos 1.7 M gmp aarch64 1:6.2.1-12.el10 baseos 268 k go-srpm-macros noarch 3.8.0-1.el10 appstream 27 k jansson aarch64 2.14-3.el10 baseos 47 k json-c aarch64 0.18-3.el10 baseos 46 k kernel-srpm-macros noarch 1.0-28.el10 appstream 8.5 k keyutils-libs aarch64 1.6.3-5.el10 baseos 33 k krb5-libs aarch64 1.21.3-11.el10 baseos 769 k libacl aarch64 2.3.2-4.el10 baseos 26 k libarchive aarch64 3.7.7-8.el10 baseos 406 k libattr aarch64 2.5.2-5.el10 baseos 19 k libblkid aarch64 2.40.2-20.el10 baseos 123 k libbrotli aarch64 1.1.0-7.el10 baseos 344 k libcap aarch64 2.69-7.el10 baseos 91 k libcap-ng aarch64 0.9.3-1.el10 baseos 33 k libcbor aarch64 0.11.0-3.el10 baseos 34 k libcom_err aarch64 1.47.1-5.el10 baseos 26 k libcurl aarch64 8.12.1-6.el10 baseos 360 k libeconf aarch64 0.6.2-4.el10 baseos 33 k libevent aarch64 2.1.12-16.el10 baseos 256 k libfdisk aarch64 2.40.2-20.el10 baseos 156 k libffi aarch64 3.4.4-10.el10 baseos 38 k libfido2 aarch64 1.14.0-7.el10 baseos 97 k libgcc aarch64 14.4.1-1.el10 baseos 115 k libgomp aarch64 14.4.1-1.el10 baseos 347 k libidn2 aarch64 2.3.7-3.el10 baseos 119 k libmount aarch64 2.40.2-20.el10 baseos 152 k libnghttp2 aarch64 1.68.0-4.el10 baseos 71 k libpkgconf aarch64 2.1.0-3.el10 baseos 39 k libpsl aarch64 0.21.5-6.el10 baseos 65 k libpwquality aarch64 1.4.5-13.el10 baseos 121 k libselinux aarch64 3.10-2.el10 baseos 96 k libsemanage aarch64 3.10-1.el10 baseos 119 k libsepol aarch64 3.10-2.el10 baseos 332 k libsmartcols aarch64 2.40.2-20.el10 baseos 81 k libssh aarch64 0.12.0-2.el10 baseos 273 k libssh-config noarch 0.12.0-2.el10 baseos 8.2 k libstdc++ aarch64 14.4.1-1.el10 baseos 859 k libtasn1 aarch64 4.20.0-5.el10 baseos 73 k libunistring aarch64 1.1-10.el10 baseos 540 k libutempter aarch64 1.2.1-15.el10 baseos 28 k libuuid aarch64 2.40.2-20.el10 baseos 28 k libverto aarch64 0.3.2-10.el10 baseos 22 k libxcrypt aarch64 4.4.36-10.el10 baseos 124 k libxml2 aarch64 2.12.5-14.el10 baseos 672 k libzstd aarch64 1.5.5-9.el10 baseos 285 k lua-libs aarch64 5.4.8-1.el10 baseos 128 k lua-srpm-macros noarch 1-15.el10 appstream 9.8 k lz4-libs aarch64 1.9.4-8.el10 baseos 68 k mpfr aarch64 4.2.1-8.el10 baseos 324 k ncurses-base noarch 6.4-15.20240127.el10 baseos 98 k ncurses-libs aarch64 6.4-15.20240127.el10 baseos 325 k ocaml-srpm-macros noarch 10-4.el10 appstream 10 k openblas-srpm-macros noarch 2-19.el10 appstream 8.7 k openldap aarch64 2.6.13-1.el10 baseos 236 k openssl-fips-provider aarch64 1:3.5.7-2.el10 baseos 718 k openssl-libs aarch64 1:3.5.7-2.el10 baseos 2.1 M p11-kit aarch64 0.26.2-1.el10 baseos 532 k p11-kit-trust aarch64 0.26.2-1.el10 baseos 141 k package-notes-srpm-macros noarch 0.5-13.el10 appstream 10 k pam aarch64 1.6.1-10.el10 baseos 590 k pam-libs aarch64 1.6.1-10.el10 baseos 55 k pcre2 aarch64 10.44-1.el10.3 baseos 227 k pcre2-syntax noarch 10.44-1.el10.3 baseos 151 k perl-srpm-macros noarch 1-57.el10 appstream 9.5 k pkgconf aarch64 2.1.0-3.el10 baseos 44 k pkgconf-m4 noarch 2.1.0-3.el10 baseos 15 k pkgconf-pkg-config aarch64 2.1.0-3.el10 baseos 11 k popt aarch64 1.19-8.el10 baseos 65 k publicsuffix-list-dafsa noarch 20240107-5.el10 baseos 59 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 aarch64 8.2-11.el10 baseos 212 k rpm aarch64 4.19.1.1-25.el10 baseos 562 k rpm-build-libs aarch64 4.19.1.1-25.el10 baseos 88 k rpm-libs aarch64 4.19.1.1-25.el10 baseos 300 k rpm-sequoia aarch64 1.10.2.3-1.el10 baseos 900 k rust-toolset-srpm-macros noarch 1.96.0-1.el10 appstream 10 k setup noarch 2.14.5-7.el10 baseos 153 k sqlite-libs aarch64 3.46.1-5.el10 baseos 730 k systemd-libs aarch64 257-29.el10 baseos 803 k util-linux-core aarch64 2.40.2-20.el10 baseos 543 k xz-libs aarch64 1:5.6.2-4.el10 baseos 110 k zip aarch64 3.0-45.el10 baseos 264 k zlib-ng-compat aarch64 2.2.3-3.el10 baseos 63 k zstd aarch64 1.5.5-9.el10 baseos 455 k Transaction Summary ====================================================================================== Install 150 Packages Total download size: 60 M Installed size: 216 M Downloading Packages: (1/150): alternatives-1.30-2.el10.aarch64.rpm 3.0 MB/s | 41 kB 00:00 (2/150): authselect-libs-1.5.3-1.el10.aarch64.r 42 MB/s | 266 kB 00:00 (3/150): audit-libs-4.0.3-5.el10.aarch64.rpm 6.2 MB/s | 129 kB 00:00 (4/150): authselect-1.5.3-1.el10.aarch64.rpm 9.8 MB/s | 229 kB 00:00 (5/150): basesystem-11-22.el10.noarch.rpm 1.2 MB/s | 4.3 kB 00:00 (6/150): bash-5.2.26-6.el10.aarch64.rpm 85 MB/s | 1.8 MB 00:00 (7/150): binutils-gold-2.41-65.el10.aarch64.rpm 43 MB/s | 936 kB 00:00 (8/150): binutils-2.41-65.el10.aarch64.rpm 148 MB/s | 6.7 MB 00:00 (9/150): bzip2-1.0.8-25.el10.aarch64.rpm 2.0 MB/s | 54 kB 00:00 (10/150): bzip2-libs-1.0.8-25.el10.aarch64.rpm 1.7 MB/s | 42 kB 00:00 (11/150): centos-gpg-keys-10.0-23.el10.noarch.r 9.2 MB/s | 26 kB 00:00 (12/150): centos-stream-release-10.0-23.el10.no 8.4 MB/s | 29 kB 00:00 (13/150): ca-certificates-2025.2.80_v9.0.305-10 113 MB/s | 1.1 MB 00:00 (14/150): centos-stream-repos-10.0-23.el10.noar 1.8 MB/s | 11 kB 00:00 (15/150): coreutils-9.5-12.el10.aarch64.rpm 99 MB/s | 1.1 MB 00:00 (16/150): cpio-2.15-3.el10.aarch64.rpm 40 MB/s | 290 kB 00:00 (17/150): cracklib-2.9.11-8.el10.aarch64.rpm 11 MB/s | 96 kB 00:00 (18/150): coreutils-common-9.5-12.el10.aarch64. 117 MB/s | 2.1 MB 00:00 (19/150): crypto-policies-20260708-1.git988eb15 8.5 MB/s | 96 kB 00:00 (20/150): curl-8.12.1-6.el10.aarch64.rpm 18 MB/s | 213 kB 00:00 (21/150): cracklib-dicts-2.9.11-8.el10.aarch64. 127 MB/s | 3.6 MB 00:00 (22/150): cyrus-sasl-lib-2.1.28-27.el10.aarch64 9.9 MB/s | 107 kB 00:00 (23/150): diffutils-3.10-8.el10.aarch64.rpm 49 MB/s | 405 kB 00:00 (24/150): ed-1.20-5.el10.aarch64.rpm 26 MB/s | 82 kB 00:00 (25/150): elfutils-0.195-1.el10.aarch64.rpm 104 MB/s | 581 kB 00:00 (26/150): elfutils-debuginfod-client-0.195-1.el 11 MB/s | 43 kB 00:00 (27/150): elfutils-default-yama-scope-0.195-1.e 2.4 MB/s | 8.6 kB 00:00 (28/150): elfutils-libelf-0.195-1.el10.aarch64. 59 MB/s | 204 kB 00:00 (29/150): file-5.45-12.el10.aarch64.rpm 13 MB/s | 48 kB 00:00 (30/150): elfutils-libs-0.195-1.el10.aarch64.rp 51 MB/s | 264 kB 00:00 (31/150): file-libs-5.45-12.el10.aarch64.rpm 83 MB/s | 761 kB 00:00 (32/150): findutils-4.10.0-5.el10.aarch64.rpm 33 MB/s | 555 kB 00:00 (33/150): filesystem-3.18-17.el10.aarch64.rpm 150 MB/s | 4.8 MB 00:00 (34/150): gawk-5.3.0-6.el10.aarch64.rpm 40 MB/s | 1.1 MB 00:00 (35/150): gdbm-1.23-14.el10.aarch64.rpm 8.1 MB/s | 150 kB 00:00 (36/150): gdbm-libs-1.23-14.el10.aarch64.rpm 12 MB/s | 56 kB 00:00 (37/150): glibc-common-2.39-128.el10.aarch64.rp 45 MB/s | 306 kB 00:00 (38/150): glibc-2.39-128.el10.aarch64.rpm 106 MB/s | 1.8 MB 00:00 (39/150): glibc-gconv-extra-2.39-128.el10.aarch 88 MB/s | 1.7 MB 00:00 (40/150): glibc-minimal-langpack-2.39-128.el10. 1.8 MB/s | 24 kB 00:00 (41/150): gmp-6.2.1-12.el10.aarch64.rpm 46 MB/s | 268 kB 00:00 (42/150): gzip-1.13-3.el10.aarch64.rpm 40 MB/s | 168 kB 00:00 (43/150): grep-3.11-10.el10.aarch64.rpm 47 MB/s | 298 kB 00:00 (44/150): info-7.1-6.el10.aarch64.rpm 32 MB/s | 182 kB 00:00 (45/150): jansson-2.14-3.el10.aarch64.rpm 17 MB/s | 47 kB 00:00 (46/150): json-c-0.18-3.el10.aarch64.rpm 17 MB/s | 46 kB 00:00 (47/150): keyutils-libs-1.6.3-5.el10.aarch64.rp 13 MB/s | 33 kB 00:00 (48/150): libacl-2.3.2-4.el10.aarch64.rpm 8.0 MB/s | 26 kB 00:00 (49/150): krb5-libs-1.21.3-11.el10.aarch64.rpm 107 MB/s | 769 kB 00:00 (50/150): libattr-2.5.2-5.el10.aarch64.rpm 6.8 MB/s | 19 kB 00:00 (51/150): libarchive-3.7.7-8.el10.aarch64.rpm 53 MB/s | 406 kB 00:00 (52/150): libbrotli-1.1.0-7.el10.aarch64.rpm 92 MB/s | 344 kB 00:00 (53/150): libblkid-2.40.2-20.el10.aarch64.rpm 24 MB/s | 123 kB 00:00 (54/150): libcap-2.69-7.el10.aarch64.rpm 29 MB/s | 91 kB 00:00 (55/150): libcbor-0.11.0-3.el10.aarch64.rpm 19 MB/s | 34 kB 00:00 (56/150): libcap-ng-0.9.3-1.el10.aarch64.rpm 10 MB/s | 33 kB 00:00 (57/150): libcom_err-1.47.1-5.el10.aarch64.rpm 11 MB/s | 26 kB 00:00 (58/150): libeconf-0.6.2-4.el10.aarch64.rpm 15 MB/s | 33 kB 00:00 (59/150): libcurl-8.12.1-6.el10.aarch64.rpm 67 MB/s | 360 kB 00:00 (60/150): libevent-2.1.12-16.el10.aarch64.rpm 47 MB/s | 256 kB 00:00 (61/150): libfdisk-2.40.2-20.el10.aarch64.rpm 32 MB/s | 156 kB 00:00 (62/150): libffi-3.4.4-10.el10.aarch64.rpm 15 MB/s | 38 kB 00:00 (63/150): libfido2-1.14.0-7.el10.aarch64.rpm 29 MB/s | 97 kB 00:00 (64/150): libgcc-14.4.1-1.el10.aarch64.rpm 30 MB/s | 115 kB 00:00 (65/150): libgomp-14.4.1-1.el10.aarch64.rpm 57 MB/s | 347 kB 00:00 (66/150): libidn2-2.3.7-3.el10.aarch64.rpm 22 MB/s | 119 kB 00:00 (67/150): libmount-2.40.2-20.el10.aarch64.rpm 34 MB/s | 152 kB 00:00 (68/150): libnghttp2-1.68.0-4.el10.aarch64.rpm 20 MB/s | 71 kB 00:00 (69/150): libpkgconf-2.1.0-3.el10.aarch64.rpm 12 MB/s | 39 kB 00:00 (70/150): libpsl-0.21.5-6.el10.aarch64.rpm 21 MB/s | 65 kB 00:00 (71/150): libpwquality-1.4.5-13.el10.aarch64.rp 38 MB/s | 121 kB 00:00 (72/150): libselinux-3.10-2.el10.aarch64.rpm 30 MB/s | 96 kB 00:00 (73/150): libsemanage-3.10-1.el10.aarch64.rpm 34 MB/s | 119 kB 00:00 (74/150): libsepol-3.10-2.el10.aarch64.rpm 69 MB/s | 332 kB 00:00 (75/150): libsmartcols-2.40.2-20.el10.aarch64.r 20 MB/s | 81 kB 00:00 (76/150): libssh-config-0.12.0-2.el10.noarch.rp 3.1 MB/s | 8.2 kB 00:00 (77/150): libssh-0.12.0-2.el10.aarch64.rpm 42 MB/s | 273 kB 00:00 (78/150): libstdc++-14.4.1-1.el10.aarch64.rpm 100 MB/s | 859 kB 00:00 (79/150): libtasn1-4.20.0-5.el10.aarch64.rpm 11 MB/s | 73 kB 00:00 (80/150): libunistring-1.1-10.el10.aarch64.rpm 66 MB/s | 540 kB 00:00 (81/150): libutempter-1.2.1-15.el10.aarch64.rpm 8.7 MB/s | 28 kB 00:00 (82/150): libuuid-2.40.2-20.el10.aarch64.rpm 10 MB/s | 28 kB 00:00 (83/150): libverto-0.3.2-10.el10.aarch64.rpm 9.5 MB/s | 22 kB 00:00 (84/150): libxcrypt-4.4.36-10.el10.aarch64.rpm 36 MB/s | 124 kB 00:00 (85/150): libxml2-2.12.5-14.el10.aarch64.rpm 99 MB/s | 672 kB 00:00 (86/150): libzstd-1.5.5-9.el10.aarch64.rpm 44 MB/s | 285 kB 00:00 (87/150): lua-libs-5.4.8-1.el10.aarch64.rpm 25 MB/s | 128 kB 00:00 (88/150): lz4-libs-1.9.4-8.el10.aarch64.rpm 20 MB/s | 68 kB 00:00 (89/150): mpfr-4.2.1-8.el10.aarch64.rpm 62 MB/s | 324 kB 00:00 (90/150): ncurses-base-6.4-15.20240127.el10.noa 18 MB/s | 98 kB 00:00 (91/150): ncurses-libs-6.4-15.20240127.el10.aar 58 MB/s | 325 kB 00:00 (92/150): openldap-2.6.13-1.el10.aarch64.rpm 59 MB/s | 236 kB 00:00 (93/150): openssl-fips-provider-3.5.7-2.el10.aa 99 MB/s | 718 kB 00:00 (94/150): p11-kit-0.26.2-1.el10.aarch64.rpm 52 MB/s | 532 kB 00:00 (95/150): openssl-libs-3.5.7-2.el10.aarch64.rpm 118 MB/s | 2.1 MB 00:00 (96/150): p11-kit-trust-0.26.2-1.el10.aarch64.r 11 MB/s | 141 kB 00:00 (97/150): pam-1.6.1-10.el10.aarch64.rpm 63 MB/s | 590 kB 00:00 (98/150): pam-libs-1.6.1-10.el10.aarch64.rpm 15 MB/s | 55 kB 00:00 (99/150): pcre2-10.44-1.el10.3.aarch64.rpm 54 MB/s | 227 kB 00:00 (100/150): pcre2-syntax-10.44-1.el10.3.noarch.r 38 MB/s | 151 kB 00:00 (101/150): pkgconf-2.1.0-3.el10.aarch64.rpm 13 MB/s | 44 kB 00:00 (102/150): pkgconf-m4-2.1.0-3.el10.noarch.rpm 4.3 MB/s | 15 kB 00:00 (103/150): pkgconf-pkg-config-2.1.0-3.el10.aarc 4.8 MB/s | 11 kB 00:00 (104/150): popt-1.19-8.el10.aarch64.rpm 22 MB/s | 65 kB 00:00 (105/150): publicsuffix-list-dafsa-20240107-5.e 19 MB/s | 59 kB 00:00 (106/150): readline-8.2-11.el10.aarch64.rpm 52 MB/s | 212 kB 00:00 (107/150): rpm-build-libs-4.19.1.1-25.el10.aarc 21 MB/s | 88 kB 00:00 (108/150): rpm-4.19.1.1-25.el10.aarch64.rpm 83 MB/s | 562 kB 00:00 (109/150): rpm-libs-4.19.1.1-25.el10.aarch64.rp 55 MB/s | 300 kB 00:00 (110/150): rpm-sequoia-1.10.2.3-1.el10.aarch64. 102 MB/s | 900 kB 00:00 (111/150): sed-4.9-5.el10.aarch64.rpm 35 MB/s | 315 kB 00:00 (112/150): setup-2.14.5-7.el10.noarch.rpm 20 MB/s | 153 kB 00:00 (113/150): shadow-utils-4.15.0-13.el10.aarch64. 122 MB/s | 1.3 MB 00:00 (114/150): sqlite-libs-3.46.1-5.el10.aarch64.rp 57 MB/s | 730 kB 00:00 (115/150): systemd-libs-257-29.el10.aarch64.rpm 55 MB/s | 803 kB 00:00 (116/150): tar-1.35-11.el10.aarch64.rpm 92 MB/s | 857 kB 00:00 (117/150): unzip-6.0-69.el10.aarch64.rpm 26 MB/s | 186 kB 00:00 (118/150): which-2.21-44.el10.aarch64.rpm 9.4 MB/s | 42 kB 00:00 (119/150): util-linux-2.40.2-20.el10.aarch64.rp 98 MB/s | 1.2 MB 00:00 (120/150): util-linux-core-2.40.2-20.el10.aarch 48 MB/s | 543 kB 00:00 (121/150): xz-5.6.2-4.el10.aarch64.rpm 60 MB/s | 481 kB 00:00 (122/150): xz-libs-5.6.2-4.el10.aarch64.rpm 21 MB/s | 110 kB 00:00 (123/150): zip-3.0-45.el10.aarch64.rpm 60 MB/s | 264 kB 00:00 (124/150): zlib-ng-compat-2.2.3-3.el10.aarch64. 17 MB/s | 63 kB 00:00 (125/150): debugedit-5.3-2.el10.aarch64.rpm 28 MB/s | 87 kB 00:00 (126/150): zstd-1.5.5-9.el10.aarch64.rpm 70 MB/s | 455 kB 00:00 (127/150): dwz-0.16-1.el10.aarch64.rpm 30 MB/s | 137 kB 00:00 (128/150): efi-srpm-macros-6-8.el10.noarch.rpm 7.7 MB/s | 23 kB 00:00 (129/150): fonts-srpm-macros-2.0.5-18.el10.noar 12 MB/s | 27 kB 00:00 (130/150): forge-srpm-macros-0.4.0-6.el10.noarc 8.4 MB/s | 21 kB 00:00 (131/150): go-srpm-macros-3.8.0-1.el10.noarch.r 7.5 MB/s | 27 kB 00:00 (132/150): kernel-srpm-macros-1.0-28.el10.noarc 2.8 MB/s | 8.5 kB 00:00 (133/150): lua-srpm-macros-1-15.el10.noarch.rpm 1.7 MB/s | 9.8 kB 00:00 (134/150): ocaml-srpm-macros-10-4.el10.noarch.r 1.3 MB/s | 10 kB 00:00 (135/150): openblas-srpm-macros-2-19.el10.noarc 1.6 MB/s | 8.7 kB 00:00 (136/150): package-notes-srpm-macros-0.5-13.el1 2.0 MB/s | 10 kB 00:00 (137/150): gdb-minimal-16.3-3.el10.aarch64.rpm 172 MB/s | 4.1 MB 00:00 (138/150): perl-srpm-macros-1-57.el10.noarch.rp 1.4 MB/s | 9.5 kB 00:00 (139/150): patch-2.7.6-26.el10.aarch64.rpm 12 MB/s | 130 kB 00:00 (140/150): pyproject-srpm-macros-1.18.5-1.el10. 1.5 MB/s | 13 kB 00:00 (141/150): qt6-srpm-macros-6.10.1-1.el10.noarch 1.8 MB/s | 9.1 kB 00:00 (142/150): python-srpm-macros-3.12-11.el10.noar 2.9 MB/s | 22 kB 00:00 (143/150): redhat-rpm-config-296-1.el10.noarch. 25 MB/s | 73 kB 00:00 (144/150): rpm-build-4.19.1.1-25.el10.aarch64.r 23 MB/s | 76 kB 00:00 (145/150): rust-toolset-srpm-macros-1.96.0-1.el 3.5 MB/s | 10 kB 00:00 (146/150): epel-rpm-macros-10-7.el10_3.noarch.r 1.1 MB/s | 8.4 kB 00:00 (147/150): R-srpm-macros-1.3.7-2.el10_3.noarch. 1.1 MB/s | 11 kB 00:00 (148/150): ansible-srpm-macros-1-21.el10_3.noar 1.9 MB/s | 20 kB 00:00 (149/150): fpc-srpm-macros-1.3-7.el10_1.noarch. 2.8 MB/s | 7.8 kB 00:00 (150/150): ghc-srpm-macros-1.9.2-1.el10_0.noarc 3.5 MB/s | 9.1 kB 00:00 -------------------------------------------------------------------------------- Total 85 MB/s | 60 MB 00:00 CentOS Stream 10 - BaseOS 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x8483C65D: Userid : "CentOS (CentOS Official Signing Key) " Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 Key imported successfully Extra Packages for Enterprise Linux 10 - aarch6 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0xE37ED158: Userid : "Fedora (epel10) " Fingerprint: 7D8D 15CB FC4E 6268 8591 FB26 33D9 8517 E37E D158 From : /usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-10 Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.18-17.el10.aarch64 1/1 Preparing : 1/1 Installing : libgcc-14.4.1-1.el10.aarch64 1/150 Running scriptlet: libgcc-14.4.1-1.el10.aarch64 1/150 Installing : ghc-srpm-macros-1.9.2-1.el10_0.noarch 2/150 Installing : fpc-srpm-macros-1.3-7.el10_1.noarch 3/150 Installing : ansible-srpm-macros-1-21.el10_3.noarch 4/150 Installing : rust-toolset-srpm-macros-1.96.0-1.el10.noarch 5/150 Installing : qt6-srpm-macros-6.10.1-1.el10.noarch 6/150 Installing : perl-srpm-macros-1-57.el10.noarch 7/150 Installing : package-notes-srpm-macros-0.5-13.el10.noarch 8/150 Installing : openblas-srpm-macros-2-19.el10.noarch 9/150 Installing : ocaml-srpm-macros-10-4.el10.noarch 10/150 Installing : kernel-srpm-macros-1.0-28.el10.noarch 11/150 Installing : publicsuffix-list-dafsa-20240107-5.el10.noarch 12/150 Installing : pkgconf-m4-2.1.0-3.el10.noarch 13/150 Installing : pcre2-syntax-10.44-1.el10.3.noarch 14/150 Installing : ncurses-base-6.4-15.20240127.el10.noarch 15/150 Installing : libssh-config-0.12.0-2.el10.noarch 16/150 Installing : coreutils-common-9.5-12.el10.aarch64 17/150 Installing : centos-gpg-keys-10.0-23.el10.noarch 18/150 Installing : centos-stream-repos-10.0-23.el10.noarch 19/150 Installing : centos-stream-release-10.0-23.el10.noarch 20/150 Running scriptlet: setup-2.14.5-7.el10.noarch 21/150 Creating group 'adm' with GID 4. Creating group 'audio' with GID 63. Creating group 'bin' with GID 1. Creating group 'cdrom' with GID 11. Creating group 'clock' with GID 103. Creating group 'daemon' with GID 2. Creating group 'dialout' with GID 18. Creating group 'disk' with GID 6. Creating group 'floppy' with GID 19. Creating group 'ftp' with GID 50. Creating group 'games' with GID 20. Creating group 'kmem' with GID 9. Creating group 'lock' with GID 54. Creating group 'lp' with GID 7. Creating group 'mail' with GID 12. Creating group 'man' with GID 15. Creating group 'mem' with GID 8. Creating group 'nobody' with GID 65534. Creating group 'root' with GID 0. Creating group 'sys' with GID 3. Creating group 'tape' with GID 33. Creating group 'tty' with GID 5. Creating group 'users' with GID 100. Creating group 'video' with GID 39. Creating group 'wheel' with GID 10. Creating user 'adm' (adm) with UID 3 and GID 4. Creating user 'bin' (bin) with UID 1 and GID 1. Creating user 'daemon' (daemon) with UID 2 and GID 2. Creating user 'ftp' (FTP User) with UID 14 and GID 50. Creating user 'games' (games) with UID 12 and GID 20. Creating user 'halt' (halt) with UID 7 and GID 0. Creating user 'lp' (lp) with UID 4 and GID 7. Creating user 'mail' (mail) with UID 8 and GID 12. Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. Creating user 'operator' (operator) with UID 11 and GID 0. Creating user 'root' (Super User) with UID 0 and GID 0. Creating user 'shutdown' (shutdown) with UID 6 and GID 0. Creating user 'sync' (sync) with UID 5 and GID 0. Installing : setup-2.14.5-7.el10.noarch 21/150 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.14.5-7.el10.noarch 21/150 Installing : filesystem-3.18-17.el10.aarch64 22/150 error: failed to open /usr/lib/group for id/name lookup: No such file or directory Installing : basesystem-11-22.el10.noarch 23/150 Running scriptlet: glibc-2.39-128.el10.aarch64 24/150 Installing : glibc-2.39-128.el10.aarch64 24/150 Running scriptlet: glibc-2.39-128.el10.aarch64 24/150 Installing : ncurses-libs-6.4-15.20240127.el10.aarch64 25/150 Installing : bash-5.2.26-6.el10.aarch64 26/150 Running scriptlet: bash-5.2.26-6.el10.aarch64 26/150 Installing : glibc-common-2.39-128.el10.aarch64 27/150 Installing : glibc-gconv-extra-2.39-128.el10.aarch64 28/150 Running scriptlet: glibc-gconv-extra-2.39-128.el10.aarch64 28/150 Installing : glibc-minimal-langpack-2.39-128.el10.aarch64 29/150 Installing : zlib-ng-compat-2.2.3-3.el10.aarch64 30/150 Installing : bzip2-libs-1.0.8-25.el10.aarch64 31/150 Installing : xz-libs-1:5.6.2-4.el10.aarch64 32/150 Installing : readline-8.2-11.el10.aarch64 33/150 Installing : libstdc++-14.4.1-1.el10.aarch64 34/150 Installing : libuuid-2.40.2-20.el10.aarch64 35/150 Installing : popt-1.19-8.el10.aarch64 36/150 Installing : libblkid-2.40.2-20.el10.aarch64 37/150 Installing : gmp-1:6.2.1-12.el10.aarch64 38/150 Installing : libattr-2.5.2-5.el10.aarch64 39/150 Installing : libacl-2.3.2-4.el10.aarch64 40/150 Installing : libxcrypt-4.4.36-10.el10.aarch64 41/150 Installing : libzstd-1.5.5-9.el10.aarch64 42/150 Installing : elfutils-libelf-0.195-1.el10.aarch64 43/150 Running scriptlet: crypto-policies-20260708-1.git988eb15.el10.noarc 44/150 Installing : crypto-policies-20260708-1.git988eb15.el10.noarc 44/150 Running scriptlet: crypto-policies-20260708-1.git988eb15.el10.noarc 44/150 Installing : gdbm-libs-1:1.23-14.el10.aarch64 45/150 Installing : libeconf-0.6.2-4.el10.aarch64 46/150 Installing : dwz-0.16-1.el10.aarch64 47/150 Installing : mpfr-4.2.1-8.el10.aarch64 48/150 Installing : gawk-5.3.0-6.el10.aarch64 49/150 Installing : unzip-6.0-69.el10.aarch64 50/150 Installing : file-libs-5.45-12.el10.aarch64 51/150 Installing : file-5.45-12.el10.aarch64 52/150 Installing : alternatives-1.30-2.el10.aarch64 53/150 Installing : jansson-2.14-3.el10.aarch64 54/150 Installing : libcap-ng-0.9.3-1.el10.aarch64 55/150 Installing : audit-libs-4.0.3-5.el10.aarch64 56/150 Installing : pam-libs-1.6.1-10.el10.aarch64 57/150 Installing : libcap-2.69-7.el10.aarch64 58/150 Installing : systemd-libs-257-29.el10.aarch64 59/150 Installing : libffi-3.4.4-10.el10.aarch64 60/150 Installing : libsepol-3.10-2.el10.aarch64 61/150 Installing : libsmartcols-2.40.2-20.el10.aarch64 62/150 Installing : libtasn1-4.20.0-5.el10.aarch64 63/150 Installing : libunistring-1.1-10.el10.aarch64 64/150 Installing : libidn2-2.3.7-3.el10.aarch64 65/150 Installing : lua-libs-5.4.8-1.el10.aarch64 66/150 Installing : lz4-libs-1.9.4-8.el10.aarch64 67/150 Installing : pcre2-10.44-1.el10.3.aarch64 68/150 Installing : libselinux-3.10-2.el10.aarch64 69/150 Installing : sed-4.9-5.el10.aarch64 70/150 Installing : findutils-1:4.10.0-5.el10.aarch64 71/150 Installing : grep-3.11-10.el10.aarch64 72/150 Installing : xz-1:5.6.2-4.el10.aarch64 73/150 Installing : libmount-2.40.2-20.el10.aarch64 74/150 Installing : util-linux-core-2.40.2-20.el10.aarch64 75/150 Installing : libsemanage-3.10-1.el10.aarch64 76/150 Installing : shadow-utils-2:4.15.0-13.el10.aarch64 77/150 Running scriptlet: libutempter-1.2.1-15.el10.aarch64 78/150 Installing : libutempter-1.2.1-15.el10.aarch64 78/150 error: failed to open /usr/lib/group for id/name lookup: No such file or directory error: failed to open /usr/lib/group for id/name lookup: No such file or directory Installing : tar-2:1.35-11.el10.aarch64 79/150 Installing : zstd-1.5.5-9.el10.aarch64 80/150 Installing : libpsl-0.21.5-6.el10.aarch64 81/150 Installing : p11-kit-0.26.2-1.el10.aarch64 82/150 Installing : p11-kit-trust-0.26.2-1.el10.aarch64 83/150 Running scriptlet: p11-kit-trust-0.26.2-1.el10.aarch64 83/150 Installing : openssl-fips-provider-1:3.5.7-2.el10.aarch64 84/150 Installing : openssl-libs-1:3.5.7-2.el10.aarch64 85/150 Installing : coreutils-9.5-12.el10.aarch64 86/150 Running scriptlet: ca-certificates-2025.2.80_v9.0.305-102.el10.noar 87/150 Installing : ca-certificates-2025.2.80_v9.0.305-102.el10.noar 87/150 Running scriptlet: ca-certificates-2025.2.80_v9.0.305-102.el10.noar 87/150 Installing : authselect-libs-1.5.3-1.el10.aarch64 88/150 Installing : gzip-1.13-3.el10.aarch64 89/150 Installing : cracklib-2.9.11-8.el10.aarch64 90/150 Installing : cracklib-dicts-2.9.11-8.el10.aarch64 91/150 Installing : libpwquality-1.4.5-13.el10.aarch64 92/150 Installing : libevent-2.1.12-16.el10.aarch64 93/150 Installing : rpm-sequoia-1.10.2.3-1.el10.aarch64 94/150 Installing : zip-3.0-45.el10.aarch64 95/150 Installing : cyrus-sasl-lib-2.1.28-27.el10.aarch64 96/150 Installing : openldap-2.6.13-1.el10.aarch64 97/150 Installing : gdbm-1:1.23-14.el10.aarch64 98/150 Installing : pam-1.6.1-10.el10.aarch64 99/150 Installing : libfdisk-2.40.2-20.el10.aarch64 100/150 Installing : libxml2-2.12.5-14.el10.aarch64 101/150 Installing : libarchive-3.7.7-8.el10.aarch64 102/150 Installing : bzip2-1.0.8-25.el10.aarch64 103/150 Installing : sqlite-libs-3.46.1-5.el10.aarch64 104/150 Installing : rpm-libs-4.19.1.1-25.el10.aarch64 105/150 Installing : ed-1.20-5.el10.aarch64 106/150 Installing : patch-2.7.6-26.el10.aarch64 107/150 Installing : elfutils-default-yama-scope-0.195-1.el10.noarch 108/150 Running scriptlet: elfutils-default-yama-scope-0.195-1.el10.noarch 108/150 Installing : elfutils-libs-0.195-1.el10.aarch64 109/150 Installing : cpio-2.15-3.el10.aarch64 110/150 Installing : diffutils-3.10-8.el10.aarch64 111/150 Installing : json-c-0.18-3.el10.aarch64 112/150 Installing : keyutils-libs-1.6.3-5.el10.aarch64 113/150 Installing : libbrotli-1.1.0-7.el10.aarch64 114/150 Installing : libcbor-0.11.0-3.el10.aarch64 115/150 Installing : libfido2-1.14.0-7.el10.aarch64 116/150 Installing : libcom_err-1.47.1-5.el10.aarch64 117/150 Installing : libgomp-14.4.1-1.el10.aarch64 118/150 Installing : rpm-build-libs-4.19.1.1-25.el10.aarch64 119/150 Installing : libnghttp2-1.68.0-4.el10.aarch64 120/150 Installing : libpkgconf-2.1.0-3.el10.aarch64 121/150 Installing : pkgconf-2.1.0-3.el10.aarch64 122/150 Installing : pkgconf-pkg-config-2.1.0-3.el10.aarch64 123/150 Installing : libverto-0.3.2-10.el10.aarch64 124/150 Installing : krb5-libs-1.21.3-11.el10.aarch64 125/150 Installing : libssh-0.12.0-2.el10.aarch64 126/150 Installing : libcurl-8.12.1-6.el10.aarch64 127/150 Installing : elfutils-debuginfod-client-0.195-1.el10.aarch64 128/150 Installing : binutils-2.41-65.el10.aarch64 129/150 Running scriptlet: binutils-2.41-65.el10.aarch64 129/150 Installing : binutils-gold-2.41-65.el10.aarch64 130/150 Running scriptlet: binutils-gold-2.41-65.el10.aarch64 130/150 Installing : elfutils-0.195-1.el10.aarch64 131/150 Installing : gdb-minimal-16.3-3.el10.aarch64 132/150 Installing : debugedit-5.3-2.el10.aarch64 133/150 Installing : curl-8.12.1-6.el10.aarch64 134/150 Running scriptlet: rpm-4.19.1.1-25.el10.aarch64 135/150 Installing : rpm-4.19.1.1-25.el10.aarch64 135/150 Installing : efi-srpm-macros-6-8.el10.noarch 136/150 Installing : lua-srpm-macros-1-15.el10.noarch 137/150 Installing : rpm-build-4.19.1.1-25.el10.aarch64 138/150 Installing : pyproject-srpm-macros-1.18.5-1.el10.noarch 139/150 Installing : redhat-rpm-config-296-1.el10.noarch 140/150 Installing : forge-srpm-macros-0.4.0-6.el10.noarch 141/150 Installing : fonts-srpm-macros-1:2.0.5-18.el10.noarch 142/150 Installing : go-srpm-macros-3.8.0-1.el10.noarch 143/150 Installing : python-srpm-macros-3.12-11.el10.noarch 144/150 Installing : R-srpm-macros-1.3.7-2.el10_3.noarch 145/150 Installing : epel-rpm-macros-10-7.el10_3.noarch 146/150 Installing : util-linux-2.40.2-20.el10.aarch64 147/150 error: failed to open /usr/lib/group for id/name lookup: No such file or directory Running scriptlet: util-linux-2.40.2-20.el10.aarch64 147/150 Installing : authselect-1.5.3-1.el10.aarch64 148/150 Installing : which-2.21-44.el10.aarch64 149/150 Installing : info-7.1-6.el10.aarch64 150/150 Running scriptlet: filesystem-3.18-17.el10.aarch64 150/150 Running scriptlet: ca-certificates-2025.2.80_v9.0.305-102.el10.noar 150/150 Running scriptlet: authselect-libs-1.5.3-1.el10.aarch64 150/150 Running scriptlet: rpm-4.19.1.1-25.el10.aarch64 150/150 Running scriptlet: info-7.1-6.el10.aarch64 150/150 Installed products updated. Installed: R-srpm-macros-1.3.7-2.el10_3.noarch alternatives-1.30-2.el10.aarch64 ansible-srpm-macros-1-21.el10_3.noarch audit-libs-4.0.3-5.el10.aarch64 authselect-1.5.3-1.el10.aarch64 authselect-libs-1.5.3-1.el10.aarch64 basesystem-11-22.el10.noarch bash-5.2.26-6.el10.aarch64 binutils-2.41-65.el10.aarch64 binutils-gold-2.41-65.el10.aarch64 bzip2-1.0.8-25.el10.aarch64 bzip2-libs-1.0.8-25.el10.aarch64 ca-certificates-2025.2.80_v9.0.305-102.el10.noarch centos-gpg-keys-10.0-23.el10.noarch centos-stream-release-10.0-23.el10.noarch centos-stream-repos-10.0-23.el10.noarch coreutils-9.5-12.el10.aarch64 coreutils-common-9.5-12.el10.aarch64 cpio-2.15-3.el10.aarch64 cracklib-2.9.11-8.el10.aarch64 cracklib-dicts-2.9.11-8.el10.aarch64 crypto-policies-20260708-1.git988eb15.el10.noarch curl-8.12.1-6.el10.aarch64 cyrus-sasl-lib-2.1.28-27.el10.aarch64 debugedit-5.3-2.el10.aarch64 diffutils-3.10-8.el10.aarch64 dwz-0.16-1.el10.aarch64 ed-1.20-5.el10.aarch64 efi-srpm-macros-6-8.el10.noarch elfutils-0.195-1.el10.aarch64 elfutils-debuginfod-client-0.195-1.el10.aarch64 elfutils-default-yama-scope-0.195-1.el10.noarch elfutils-libelf-0.195-1.el10.aarch64 elfutils-libs-0.195-1.el10.aarch64 epel-rpm-macros-10-7.el10_3.noarch file-5.45-12.el10.aarch64 file-libs-5.45-12.el10.aarch64 filesystem-3.18-17.el10.aarch64 findutils-1:4.10.0-5.el10.aarch64 fonts-srpm-macros-1:2.0.5-18.el10.noarch forge-srpm-macros-0.4.0-6.el10.noarch fpc-srpm-macros-1.3-7.el10_1.noarch gawk-5.3.0-6.el10.aarch64 gdb-minimal-16.3-3.el10.aarch64 gdbm-1:1.23-14.el10.aarch64 gdbm-libs-1:1.23-14.el10.aarch64 ghc-srpm-macros-1.9.2-1.el10_0.noarch glibc-2.39-128.el10.aarch64 glibc-common-2.39-128.el10.aarch64 glibc-gconv-extra-2.39-128.el10.aarch64 glibc-minimal-langpack-2.39-128.el10.aarch64 gmp-1:6.2.1-12.el10.aarch64 go-srpm-macros-3.8.0-1.el10.noarch grep-3.11-10.el10.aarch64 gzip-1.13-3.el10.aarch64 info-7.1-6.el10.aarch64 jansson-2.14-3.el10.aarch64 json-c-0.18-3.el10.aarch64 kernel-srpm-macros-1.0-28.el10.noarch keyutils-libs-1.6.3-5.el10.aarch64 krb5-libs-1.21.3-11.el10.aarch64 libacl-2.3.2-4.el10.aarch64 libarchive-3.7.7-8.el10.aarch64 libattr-2.5.2-5.el10.aarch64 libblkid-2.40.2-20.el10.aarch64 libbrotli-1.1.0-7.el10.aarch64 libcap-2.69-7.el10.aarch64 libcap-ng-0.9.3-1.el10.aarch64 libcbor-0.11.0-3.el10.aarch64 libcom_err-1.47.1-5.el10.aarch64 libcurl-8.12.1-6.el10.aarch64 libeconf-0.6.2-4.el10.aarch64 libevent-2.1.12-16.el10.aarch64 libfdisk-2.40.2-20.el10.aarch64 libffi-3.4.4-10.el10.aarch64 libfido2-1.14.0-7.el10.aarch64 libgcc-14.4.1-1.el10.aarch64 libgomp-14.4.1-1.el10.aarch64 libidn2-2.3.7-3.el10.aarch64 libmount-2.40.2-20.el10.aarch64 libnghttp2-1.68.0-4.el10.aarch64 libpkgconf-2.1.0-3.el10.aarch64 libpsl-0.21.5-6.el10.aarch64 libpwquality-1.4.5-13.el10.aarch64 libselinux-3.10-2.el10.aarch64 libsemanage-3.10-1.el10.aarch64 libsepol-3.10-2.el10.aarch64 libsmartcols-2.40.2-20.el10.aarch64 libssh-0.12.0-2.el10.aarch64 libssh-config-0.12.0-2.el10.noarch libstdc++-14.4.1-1.el10.aarch64 libtasn1-4.20.0-5.el10.aarch64 libunistring-1.1-10.el10.aarch64 libutempter-1.2.1-15.el10.aarch64 libuuid-2.40.2-20.el10.aarch64 libverto-0.3.2-10.el10.aarch64 libxcrypt-4.4.36-10.el10.aarch64 libxml2-2.12.5-14.el10.aarch64 libzstd-1.5.5-9.el10.aarch64 lua-libs-5.4.8-1.el10.aarch64 lua-srpm-macros-1-15.el10.noarch lz4-libs-1.9.4-8.el10.aarch64 mpfr-4.2.1-8.el10.aarch64 ncurses-base-6.4-15.20240127.el10.noarch ncurses-libs-6.4-15.20240127.el10.aarch64 ocaml-srpm-macros-10-4.el10.noarch openblas-srpm-macros-2-19.el10.noarch openldap-2.6.13-1.el10.aarch64 openssl-fips-provider-1:3.5.7-2.el10.aarch64 openssl-libs-1:3.5.7-2.el10.aarch64 p11-kit-0.26.2-1.el10.aarch64 p11-kit-trust-0.26.2-1.el10.aarch64 package-notes-srpm-macros-0.5-13.el10.noarch pam-1.6.1-10.el10.aarch64 pam-libs-1.6.1-10.el10.aarch64 patch-2.7.6-26.el10.aarch64 pcre2-10.44-1.el10.3.aarch64 pcre2-syntax-10.44-1.el10.3.noarch perl-srpm-macros-1-57.el10.noarch pkgconf-2.1.0-3.el10.aarch64 pkgconf-m4-2.1.0-3.el10.noarch pkgconf-pkg-config-2.1.0-3.el10.aarch64 popt-1.19-8.el10.aarch64 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.aarch64 redhat-rpm-config-296-1.el10.noarch rpm-4.19.1.1-25.el10.aarch64 rpm-build-4.19.1.1-25.el10.aarch64 rpm-build-libs-4.19.1.1-25.el10.aarch64 rpm-libs-4.19.1.1-25.el10.aarch64 rpm-sequoia-1.10.2.3-1.el10.aarch64 rust-toolset-srpm-macros-1.96.0-1.el10.noarch sed-4.9-5.el10.aarch64 setup-2.14.5-7.el10.noarch shadow-utils-2:4.15.0-13.el10.aarch64 sqlite-libs-3.46.1-5.el10.aarch64 systemd-libs-257-29.el10.aarch64 tar-2:1.35-11.el10.aarch64 unzip-6.0-69.el10.aarch64 util-linux-2.40.2-20.el10.aarch64 util-linux-core-2.40.2-20.el10.aarch64 which-2.21-44.el10.aarch64 xz-1:5.6.2-4.el10.aarch64 xz-libs-1:5.6.2-4.el10.aarch64 zip-3.0-45.el10.aarch64 zlib-ng-compat-2.2.3-3.el10.aarch64 zstd-1.5.5-9.el10.aarch64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: R-srpm-macros-1.3.7-2.el10_3.noarch alternatives-1.30-2.el10.aarch64 ansible-srpm-macros-1-21.el10_3.noarch audit-libs-4.0.3-5.el10.aarch64 authselect-1.5.3-1.el10.aarch64 authselect-libs-1.5.3-1.el10.aarch64 basesystem-11-22.el10.noarch bash-5.2.26-6.el10.aarch64 binutils-2.41-65.el10.aarch64 binutils-gold-2.41-65.el10.aarch64 bzip2-1.0.8-25.el10.aarch64 bzip2-libs-1.0.8-25.el10.aarch64 ca-certificates-2025.2.80_v9.0.305-102.el10.noarch centos-gpg-keys-10.0-23.el10.noarch centos-stream-release-10.0-23.el10.noarch centos-stream-repos-10.0-23.el10.noarch coreutils-9.5-12.el10.aarch64 coreutils-common-9.5-12.el10.aarch64 cpio-2.15-3.el10.aarch64 cracklib-2.9.11-8.el10.aarch64 cracklib-dicts-2.9.11-8.el10.aarch64 crypto-policies-20260708-1.git988eb15.el10.noarch curl-8.12.1-6.el10.aarch64 cyrus-sasl-lib-2.1.28-27.el10.aarch64 debugedit-5.3-2.el10.aarch64 diffutils-3.10-8.el10.aarch64 dwz-0.16-1.el10.aarch64 ed-1.20-5.el10.aarch64 efi-srpm-macros-6-8.el10.noarch elfutils-0.195-1.el10.aarch64 elfutils-debuginfod-client-0.195-1.el10.aarch64 elfutils-default-yama-scope-0.195-1.el10.noarch elfutils-libelf-0.195-1.el10.aarch64 elfutils-libs-0.195-1.el10.aarch64 epel-rpm-macros-10-7.el10_3.noarch file-5.45-12.el10.aarch64 file-libs-5.45-12.el10.aarch64 filesystem-3.18-17.el10.aarch64 findutils-4.10.0-5.el10.aarch64 fonts-srpm-macros-2.0.5-18.el10.noarch forge-srpm-macros-0.4.0-6.el10.noarch fpc-srpm-macros-1.3-7.el10_1.noarch gawk-5.3.0-6.el10.aarch64 gdb-minimal-16.3-3.el10.aarch64 gdbm-1.23-14.el10.aarch64 gdbm-libs-1.23-14.el10.aarch64 ghc-srpm-macros-1.9.2-1.el10_0.noarch glibc-2.39-128.el10.aarch64 glibc-common-2.39-128.el10.aarch64 glibc-gconv-extra-2.39-128.el10.aarch64 glibc-minimal-langpack-2.39-128.el10.aarch64 gmp-6.2.1-12.el10.aarch64 go-srpm-macros-3.8.0-1.el10.noarch gpg-pubkey-7d8d15cbfc4e62688591fb2633d98517e37ed158-65785fa9 gpg-pubkey-99db70fae1d7ce227fb6488205b555b38483c65d-5ccc5b19 grep-3.11-10.el10.aarch64 gzip-1.13-3.el10.aarch64 info-7.1-6.el10.aarch64 jansson-2.14-3.el10.aarch64 json-c-0.18-3.el10.aarch64 kernel-srpm-macros-1.0-28.el10.noarch keyutils-libs-1.6.3-5.el10.aarch64 krb5-libs-1.21.3-11.el10.aarch64 libacl-2.3.2-4.el10.aarch64 libarchive-3.7.7-8.el10.aarch64 libattr-2.5.2-5.el10.aarch64 libblkid-2.40.2-20.el10.aarch64 libbrotli-1.1.0-7.el10.aarch64 libcap-2.69-7.el10.aarch64 libcap-ng-0.9.3-1.el10.aarch64 libcbor-0.11.0-3.el10.aarch64 libcom_err-1.47.1-5.el10.aarch64 libcurl-8.12.1-6.el10.aarch64 libeconf-0.6.2-4.el10.aarch64 libevent-2.1.12-16.el10.aarch64 libfdisk-2.40.2-20.el10.aarch64 libffi-3.4.4-10.el10.aarch64 libfido2-1.14.0-7.el10.aarch64 libgcc-14.4.1-1.el10.aarch64 libgomp-14.4.1-1.el10.aarch64 libidn2-2.3.7-3.el10.aarch64 libmount-2.40.2-20.el10.aarch64 libnghttp2-1.68.0-4.el10.aarch64 libpkgconf-2.1.0-3.el10.aarch64 libpsl-0.21.5-6.el10.aarch64 libpwquality-1.4.5-13.el10.aarch64 libselinux-3.10-2.el10.aarch64 libsemanage-3.10-1.el10.aarch64 libsepol-3.10-2.el10.aarch64 libsmartcols-2.40.2-20.el10.aarch64 libssh-0.12.0-2.el10.aarch64 libssh-config-0.12.0-2.el10.noarch libstdc++-14.4.1-1.el10.aarch64 libtasn1-4.20.0-5.el10.aarch64 libunistring-1.1-10.el10.aarch64 libutempter-1.2.1-15.el10.aarch64 libuuid-2.40.2-20.el10.aarch64 libverto-0.3.2-10.el10.aarch64 libxcrypt-4.4.36-10.el10.aarch64 libxml2-2.12.5-14.el10.aarch64 libzstd-1.5.5-9.el10.aarch64 lua-libs-5.4.8-1.el10.aarch64 lua-srpm-macros-1-15.el10.noarch lz4-libs-1.9.4-8.el10.aarch64 mpfr-4.2.1-8.el10.aarch64 ncurses-base-6.4-15.20240127.el10.noarch ncurses-libs-6.4-15.20240127.el10.aarch64 ocaml-srpm-macros-10-4.el10.noarch openblas-srpm-macros-2-19.el10.noarch openldap-2.6.13-1.el10.aarch64 openssl-fips-provider-3.5.7-2.el10.aarch64 openssl-libs-3.5.7-2.el10.aarch64 p11-kit-0.26.2-1.el10.aarch64 p11-kit-trust-0.26.2-1.el10.aarch64 package-notes-srpm-macros-0.5-13.el10.noarch pam-1.6.1-10.el10.aarch64 pam-libs-1.6.1-10.el10.aarch64 patch-2.7.6-26.el10.aarch64 pcre2-10.44-1.el10.3.aarch64 pcre2-syntax-10.44-1.el10.3.noarch perl-srpm-macros-1-57.el10.noarch pkgconf-2.1.0-3.el10.aarch64 pkgconf-m4-2.1.0-3.el10.noarch pkgconf-pkg-config-2.1.0-3.el10.aarch64 popt-1.19-8.el10.aarch64 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.aarch64 redhat-rpm-config-296-1.el10.noarch rpm-4.19.1.1-25.el10.aarch64 rpm-build-4.19.1.1-25.el10.aarch64 rpm-build-libs-4.19.1.1-25.el10.aarch64 rpm-libs-4.19.1.1-25.el10.aarch64 rpm-sequoia-1.10.2.3-1.el10.aarch64 rust-toolset-srpm-macros-1.96.0-1.el10.noarch sed-4.9-5.el10.aarch64 setup-2.14.5-7.el10.noarch shadow-utils-4.15.0-13.el10.aarch64 sqlite-libs-3.46.1-5.el10.aarch64 systemd-libs-257-29.el10.aarch64 tar-1.35-11.el10.aarch64 unzip-6.0-69.el10.aarch64 util-linux-2.40.2-20.el10.aarch64 util-linux-core-2.40.2-20.el10.aarch64 which-2.21-44.el10.aarch64 xz-5.6.2-4.el10.aarch64 xz-libs-5.6.2-4.el10.aarch64 zip-3.0-45.el10.aarch64 zlib-ng-compat-2.2.3-3.el10.aarch64 zstd-1.5.5-9.el10.aarch64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1784073600 Wrote: /builddir/build/SRPMS/firebird-5.0.4.1812-2.el10.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/centos-stream+epel-10-aarch64-1784157143.919165/root/var/log/dnf.rpm.log /var/lib/mock/centos-stream+epel-10-aarch64-1784157143.919165/root/var/log/dnf.librepo.log /var/lib/mock/centos-stream+epel-10-aarch64-1784157143.919165/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-bhvgbe7_/firebird/firebird.spec) Config(child) 0 minutes 22 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/firebird-5.0.4.1812-2.el10.src.rpm) Config(centos-stream+epel-10-aarch64) Start: chroot init INFO: mounting tmpfs at /var/lib/mock/centos-stream+epel-10-aarch64-1784157143.919165/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 from host and used with --installroot: rpm-6.0.1-2.fc44.aarch64 rpm-sequoia-1.10.2-2.fc44.aarch64 python3-dnf-4.24.0-3.fc44.noarch python3-dnf-plugins-core-4.10.1-9.fc44.noarch dnf5-5.4.2.1-1.fc44.aarch64 dnf5-plugins-5.4.2.1-1.fc44.aarch64 Finish: chroot init Start: build phase for firebird-5.0.4.1812-2.el10.src.rpm Start: build setup for firebird-5.0.4.1812-2.el10.src.rpm Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1784073600 Wrote: /builddir/build/SRPMS/firebird-5.0.4.1812-2.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 63 kB/s | 1.5 kB 00:00 CentOS Stream 10 - BaseOS 67 kB/s | 6.8 kB 00:00 CentOS Stream 10 - AppStream 31 kB/s | 6.9 kB 00:00 CentOS Stream 10 - CRB 142 kB/s | 6.7 kB 00:00 CentOS Stream 10 - Extras packages 72 kB/s | 7.3 kB 00:00 Extra Packages for Enterprise Linux 10 - aarch6 374 kB/s | 21 kB 00:00 Package sed-4.9-5.el10.aarch64 is already installed. Package unzip-6.0-69.el10.aarch64 is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: autoconf noarch 2.71-13.el10 appstream 736 k automake noarch 1.16.5-20.el10 appstream 702 k chrpath aarch64 0.16-25.el10 baseos 31 k cmake aarch64 3.31.8-1.el10 appstream 8.2 M gcc-c++ aarch64 14.4.1-1.el10 appstream 14 M libedit-devel aarch64 3.1-52.20230828cvs.el10 appstream 48 k libicu-devel aarch64 74.2-5.el10 appstream 967 k libstdc++-static aarch64 14.4.1-1.el10 crb 927 k libtomcrypt-devel aarch64 1.18.2-21.el10_1 epel 38 k libtommath-devel aarch64 1.3.1~rc1-3.el10_0 epel 16 k libtool aarch64 2.4.7-14.el10 appstream 597 k make aarch64 1:4.4.1-9.el10 baseos 585 k ncurses-devel aarch64 6.4-15.20240127.el10 appstream 750 k procmail aarch64 3.24-8.el10 appstream 181 k systemd-rpm-macros noarch 257-29.el10 baseos 44 k zlib-ng-compat-devel aarch64 2.2.3-3.el10 appstream 36 k Installing dependencies: annobin-docs noarch 13.22-1.el10 appstream 85 k annobin-plugin-gcc aarch64 13.22-1.el10 appstream 693 k cmake-data noarch 3.31.8-1.el10 appstream 2.7 M cmake-filesystem aarch64 3.31.8-1.el10 appstream 21 k cmake-rpm-macros noarch 3.31.8-1.el10 appstream 12 k cpp aarch64 14.4.1-1.el10 appstream 11 M emacs-filesystem noarch 1:29.4-13.el10 baseos 8.3 k expat aarch64 2.7.3-1.el10 baseos 114 k gcc aarch64 14.4.1-1.el10 appstream 34 M gcc-plugin-annobin aarch64 14.4.1-1.el10 appstream 55 k glibc-devel aarch64 2.39-128.el10 appstream 574 k groff-base aarch64 1.23.0-10.el10 baseos 1.1 M kernel-headers aarch64 6.12.0-248.el10 appstream 2.6 M libasan aarch64 14.4.1-1.el10 appstream 517 k libatomic aarch64 14.4.1-1.el10 baseos 43 k libedit aarch64 3.1-52.20230828cvs.el10 baseos 106 k libicu aarch64 74.2-5.el10 baseos 10 M libmpc aarch64 1.3.1-7.el10 appstream 73 k libstdc++-devel aarch64 14.4.1-1.el10 appstream 2.8 M libtomcrypt aarch64 1.18.2-21.el10_1 epel 412 k libtommath aarch64 1.3.1~rc1-3.el10_0 epel 67 k libubsan aarch64 14.4.1-1.el10 appstream 224 k libuv aarch64 1:1.52.1-1.el10 appstream 262 k libxcrypt-devel aarch64 4.4.36-10.el10 appstream 30 k m4 aarch64 1.4.19-11.el10 appstream 301 k mpdecimal aarch64 2.5.1-12.el10 baseos 90 k ncurses aarch64 6.4-15.20240127.el10 baseos 418 k ncurses-c++-libs aarch64 6.4-15.20240127.el10 appstream 37 k perl-AutoLoader noarch 5.74-514.el10 appstream 22 k perl-B aarch64 1.89-514.el10 appstream 179 k perl-Carp noarch 1.54-511.el10 baseos 30 k perl-Class-Struct noarch 0.68-514.el10 appstream 23 k perl-Data-Dumper aarch64 2.189-512.el10 baseos 56 k perl-Digest noarch 1.20-511.el10 baseos 26 k perl-Digest-MD5 aarch64 2.59-6.el10 baseos 37 k perl-DynaLoader aarch64 1.56-514.el10 appstream 27 k perl-Encode aarch64 4:3.21-511.el10 baseos 1.1 M perl-Errno aarch64 1.38-514.el10 appstream 16 k perl-Exporter noarch 5.78-511.el10 baseos 32 k perl-Fcntl aarch64 1.18-514.el10 appstream 30 k perl-File-Basename noarch 2.86-514.el10 appstream 18 k perl-File-Compare noarch 1.100.800-514.el10 appstream 14 k perl-File-Copy noarch 2.41-514.el10 appstream 21 k perl-File-Find noarch 1.44-514.el10 appstream 26 k perl-File-Path noarch 2.18-512.el10 appstream 35 k perl-File-Temp noarch 1:0.231.100-512.el10 baseos 60 k perl-File-stat noarch 1.14-514.el10 appstream 18 k perl-FileHandle noarch 2.05-514.el10 appstream 16 k perl-Getopt-Long noarch 1:2.58-3.el10 baseos 65 k perl-Getopt-Std noarch 1.14-514.el10 appstream 16 k perl-HTTP-Tiny noarch 0.088-512.el10 baseos 57 k perl-IO aarch64 1.55-514.el10 appstream 81 k perl-IO-Socket-IP noarch 0.42-512.el10 baseos 43 k perl-IO-Socket-SSL noarch 2.085-3.el10 baseos 227 k perl-IPC-Open3 noarch 1.22-514.el10 appstream 23 k perl-MIME-Base64 aarch64 3.16-511.el10 baseos 31 k perl-Mozilla-CA noarch 20231213-5.el10 baseos 15 k perl-Net-SSLeay aarch64 1.94-9.el10 appstream 377 k perl-POSIX aarch64 2.20-514.el10 appstream 98 k perl-PathTools aarch64 3.91-512.el10 baseos 85 k perl-Pod-Escapes noarch 1:1.07-511.el10 baseos 21 k perl-Pod-Perldoc noarch 3.28.01-512.el10 baseos 84 k perl-Pod-Simple noarch 1:3.45-511.el10 baseos 218 k perl-Pod-Usage noarch 4:2.03-511.el10 baseos 41 k perl-Scalar-List-Utils aarch64 5:1.63-511.el10 baseos 73 k perl-SelectSaver noarch 1.02-514.el10 appstream 12 k perl-Socket aarch64 4:2.038-511.el10 baseos 56 k perl-Storable aarch64 1:3.32-511.el10 baseos 98 k perl-Symbol noarch 1.09-514.el10 appstream 15 k perl-Term-ANSIColor noarch 5.01-512.el10 baseos 49 k perl-Term-Cap noarch 1.18-511.el10 baseos 23 k perl-Text-ParseWords noarch 3.31-511.el10 baseos 17 k perl-Text-Tabs+Wrap noarch 2024.001-511.el10 baseos 23 k perl-Thread-Queue noarch 3.14-511.el10 appstream 22 k perl-Time-Local noarch 2:1.350-511.el10 baseos 35 k perl-URI noarch 5.27-3.el10 baseos 134 k perl-base noarch 2.27-514.el10 appstream 17 k perl-constant noarch 1.33-512.el10 baseos 24 k perl-if noarch 0.61.000-514.el10 appstream 15 k perl-interpreter aarch64 4:5.40.2-514.el10 appstream 73 k perl-libnet noarch 3.15-512.el10 baseos 127 k perl-libs aarch64 4:5.40.2-514.el10 appstream 2.3 M perl-locale noarch 1.12-514.el10 appstream 14 k perl-mro aarch64 1.29-514.el10 appstream 30 k perl-overload noarch 1.37-514.el10 appstream 46 k perl-overloading noarch 0.02-514.el10 appstream 14 k perl-parent noarch 1:0.241-512.el10 baseos 16 k perl-podlators noarch 1:5.01-511.el10 baseos 124 k perl-threads aarch64 1:2.40-511.el10 appstream 58 k perl-threads-shared aarch64 1.69-511.el10 appstream 45 k perl-vars noarch 1.05-514.el10 appstream 14 k python3 aarch64 3.12.13-2.el10 baseos 28 k python3-libs aarch64 3.12.13-2.el10 baseos 9.3 M python3-pip-wheel noarch 23.3.2-11.el10 baseos 1.5 M tzdata noarch 2026b-1.el10 baseos 904 k vim-filesystem noarch 2:9.1.083-13.el10 baseos 15 k Transaction Summary ================================================================================ Install 112 Packages Total download size: 115 M Installed size: 376 M Downloading Packages: (1/112): chrpath-0.16-25.el10.aarch64.rpm 2.2 MB/s | 31 kB 00:00 (2/112): emacs-filesystem-29.4-13.el10.noarch.r 540 kB/s | 8.3 kB 00:00 (3/112): expat-2.7.3-1.el10.aarch64.rpm 6.8 MB/s | 114 kB 00:00 (4/112): libatomic-14.4.1-1.el10.aarch64.rpm 7.9 MB/s | 43 kB 00:00 (5/112): libedit-3.1-52.20230828cvs.el10.aarch6 16 MB/s | 106 kB 00:00 (6/112): groff-base-1.23.0-10.el10.aarch64.rpm 97 MB/s | 1.1 MB 00:00 (7/112): make-4.4.1-9.el10.aarch64.rpm 66 MB/s | 585 kB 00:00 (8/112): mpdecimal-2.5.1-12.el10.aarch64.rpm 11 MB/s | 90 kB 00:00 (9/112): perl-Carp-1.54-511.el10.noarch.rpm 2.5 MB/s | 30 kB 00:00 (10/112): ncurses-6.4-15.20240127.el10.aarch64. 30 MB/s | 418 kB 00:00 (11/112): perl-Data-Dumper-2.189-512.el10.aarch 5.5 MB/s | 56 kB 00:00 (12/112): perl-Digest-1.20-511.el10.noarch.rpm 2.8 MB/s | 26 kB 00:00 (13/112): libicu-74.2-5.el10.aarch64.rpm 222 MB/s | 10 MB 00:00 (14/112): perl-Digest-MD5-2.59-6.el10.aarch64.r 2.9 MB/s | 37 kB 00:00 (15/112): perl-Encode-3.21-511.el10.aarch64.rpm 64 MB/s | 1.1 MB 00:00 (16/112): perl-Exporter-5.78-511.el10.noarch.rp 6.7 MB/s | 32 kB 00:00 (17/112): perl-File-Temp-0.231.100-512.el10.noa 10 MB/s | 60 kB 00:00 (18/112): perl-Getopt-Long-2.58-3.el10.noarch.r 13 MB/s | 65 kB 00:00 (19/112): perl-HTTP-Tiny-0.088-512.el10.noarch. 11 MB/s | 57 kB 00:00 (20/112): perl-IO-Socket-IP-0.42-512.el10.noarc 11 MB/s | 43 kB 00:00 (21/112): perl-MIME-Base64-3.16-511.el10.aarch6 10 MB/s | 31 kB 00:00 (22/112): perl-IO-Socket-SSL-2.085-3.el10.noarc 48 MB/s | 227 kB 00:00 (23/112): perl-Mozilla-CA-20231213-5.el10.noarc 3.9 MB/s | 15 kB 00:00 (24/112): perl-PathTools-3.91-512.el10.aarch64. 25 MB/s | 85 kB 00:00 (25/112): perl-Pod-Escapes-1.07-511.el10.noarch 5.9 MB/s | 21 kB 00:00 (26/112): perl-Pod-Perldoc-3.28.01-512.el10.noa 19 MB/s | 84 kB 00:00 (27/112): perl-Pod-Simple-3.45-511.el10.noarch. 49 MB/s | 218 kB 00:00 (28/112): perl-Pod-Usage-2.03-511.el10.noarch.r 11 MB/s | 41 kB 00:00 (29/112): perl-Scalar-List-Utils-1.63-511.el10. 21 MB/s | 73 kB 00:00 (30/112): perl-Socket-2.038-511.el10.aarch64.rp 16 MB/s | 56 kB 00:00 (31/112): perl-Storable-3.32-511.el10.aarch64.r 27 MB/s | 98 kB 00:00 (32/112): perl-Term-ANSIColor-5.01-512.el10.noa 15 MB/s | 49 kB 00:00 (33/112): perl-Term-Cap-1.18-511.el10.noarch.rp 6.2 MB/s | 23 kB 00:00 (34/112): perl-Text-ParseWords-3.31-511.el10.no 5.3 MB/s | 17 kB 00:00 (35/112): perl-Text-Tabs+Wrap-2024.001-511.el10 6.9 MB/s | 23 kB 00:00 (36/112): perl-Time-Local-1.350-511.el10.noarch 9.8 MB/s | 35 kB 00:00 (37/112): perl-URI-5.27-3.el10.noarch.rpm 33 MB/s | 134 kB 00:00 (38/112): perl-constant-1.33-512.el10.noarch.rp 5.7 MB/s | 24 kB 00:00 (39/112): perl-libnet-3.15-512.el10.noarch.rpm 30 MB/s | 127 kB 00:00 (40/112): perl-parent-0.241-512.el10.noarch.rpm 3.7 MB/s | 16 kB 00:00 (41/112): perl-podlators-5.01-511.el10.noarch.r 26 MB/s | 124 kB 00:00 (42/112): python3-3.12.13-2.el10.aarch64.rpm 6.6 MB/s | 28 kB 00:00 (43/112): systemd-rpm-macros-257-29.el10.noarch 8.3 MB/s | 44 kB 00:00 (44/112): python3-pip-wheel-23.3.2-11.el10.noar 117 MB/s | 1.5 MB 00:00 (45/112): tzdata-2026b-1.el10.noarch.rpm 56 MB/s | 904 kB 00:00 (46/112): vim-filesystem-9.1.083-13.el10.noarch 1.2 MB/s | 15 kB 00:00 (47/112): python3-libs-3.12.13-2.el10.aarch64.r 201 MB/s | 9.3 MB 00:00 (48/112): annobin-docs-13.22-1.el10.noarch.rpm 3.8 MB/s | 85 kB 00:00 (49/112): annobin-plugin-gcc-13.22-1.el10.aarch 29 MB/s | 693 kB 00:00 (50/112): autoconf-2.71-13.el10.noarch.rpm 101 MB/s | 736 kB 00:00 (51/112): automake-1.16.5-20.el10.noarch.rpm 85 MB/s | 702 kB 00:00 (52/112): cmake-filesystem-3.31.8-1.el10.aarch6 3.9 MB/s | 21 kB 00:00 (53/112): cmake-rpm-macros-3.31.8-1.el10.noarch 1.7 MB/s | 12 kB 00:00 (54/112): cmake-data-3.31.8-1.el10.noarch.rpm 125 MB/s | 2.7 MB 00:00 (55/112): cmake-3.31.8-1.el10.aarch64.rpm 173 MB/s | 8.2 MB 00:00 (56/112): gcc-c++-14.4.1-1.el10.aarch64.rpm 128 MB/s | 14 MB 00:00 (57/112): gcc-plugin-annobin-14.4.1-1.el10.aarc 1.9 MB/s | 55 kB 00:00 (58/112): gcc-14.4.1-1.el10.aarch64.rpm 166 MB/s | 34 MB 00:00 (59/112): glibc-devel-2.39-128.el10.aarch64.rpm 10 MB/s | 574 kB 00:00 (60/112): cpp-14.4.1-1.el10.aarch64.rpm 48 MB/s | 11 MB 00:00 (61/112): libasan-14.4.1-1.el10.aarch64.rpm 19 MB/s | 517 kB 00:00 (62/112): kernel-headers-6.12.0-248.el10.aarch6 75 MB/s | 2.6 MB 00:00 (63/112): libedit-devel-3.1-52.20230828cvs.el10 3.8 MB/s | 48 kB 00:00 (64/112): libicu-devel-74.2-5.el10.aarch64.rpm 115 MB/s | 967 kB 00:00 (65/112): libmpc-1.3.1-7.el10.aarch64.rpm 11 MB/s | 73 kB 00:00 (66/112): libtool-2.4.7-14.el10.aarch64.rpm 84 MB/s | 597 kB 00:00 (67/112): libubsan-14.4.1-1.el10.aarch64.rpm 25 MB/s | 224 kB 00:00 (68/112): libstdc++-devel-14.4.1-1.el10.aarch64 158 MB/s | 2.8 MB 00:00 (69/112): libuv-1.52.1-1.el10.aarch64.rpm 31 MB/s | 262 kB 00:00 (70/112): libxcrypt-devel-4.4.36-10.el10.aarch6 6.6 MB/s | 30 kB 00:00 (71/112): m4-1.4.19-11.el10.aarch64.rpm 61 MB/s | 301 kB 00:00 (72/112): ncurses-c++-libs-6.4-15.20240127.el10 8.6 MB/s | 37 kB 00:00 (73/112): ncurses-devel-6.4-15.20240127.el10.aa 110 MB/s | 750 kB 00:00 (74/112): perl-AutoLoader-5.74-514.el10.noarch. 5.8 MB/s | 22 kB 00:00 (75/112): perl-B-1.89-514.el10.aarch64.rpm 39 MB/s | 179 kB 00:00 (76/112): perl-Class-Struct-0.68-514.el10.noarc 7.2 MB/s | 23 kB 00:00 (77/112): perl-DynaLoader-1.56-514.el10.aarch64 9.1 MB/s | 27 kB 00:00 (78/112): perl-Errno-1.38-514.el10.aarch64.rpm 4.0 MB/s | 16 kB 00:00 (79/112): perl-Fcntl-1.18-514.el10.aarch64.rpm 10 MB/s | 30 kB 00:00 (80/112): perl-File-Basename-2.86-514.el10.noar 5.3 MB/s | 18 kB 00:00 (81/112): perl-File-Compare-1.100.800-514.el10. 5.3 MB/s | 14 kB 00:00 (82/112): perl-File-Copy-2.41-514.el10.noarch.r 7.5 MB/s | 21 kB 00:00 (83/112): perl-File-Find-1.44-514.el10.noarch.r 9.7 MB/s | 26 kB 00:00 (84/112): perl-File-Path-2.18-512.el10.noarch.r 9.4 MB/s | 35 kB 00:00 (85/112): perl-File-stat-1.14-514.el10.noarch.r 5.1 MB/s | 18 kB 00:00 (86/112): perl-FileHandle-2.05-514.el10.noarch. 4.6 MB/s | 16 kB 00:00 (87/112): perl-Getopt-Std-1.14-514.el10.noarch. 4.5 MB/s | 16 kB 00:00 (88/112): perl-IO-1.55-514.el10.aarch64.rpm 20 MB/s | 81 kB 00:00 (89/112): perl-POSIX-2.20-514.el10.aarch64.rpm 31 MB/s | 98 kB 00:00 (90/112): perl-Net-SSLeay-1.94-9.el10.aarch64.r 75 MB/s | 377 kB 00:00 (91/112): perl-SelectSaver-1.02-514.el10.noarch 4.0 MB/s | 12 kB 00:00 (92/112): perl-Symbol-1.09-514.el10.noarch.rpm 5.8 MB/s | 15 kB 00:00 (93/112): perl-Thread-Queue-3.14-511.el10.noarc 8.3 MB/s | 22 kB 00:00 (94/112): perl-base-2.27-514.el10.noarch.rpm 5.8 MB/s | 17 kB 00:00 (95/112): perl-if-0.61.000-514.el10.noarch.rpm 6.0 MB/s | 15 kB 00:00 (96/112): perl-interpreter-5.40.2-514.el10.aarc 27 MB/s | 73 kB 00:00 (97/112): perl-locale-1.12-514.el10.noarch.rpm 4.7 MB/s | 14 kB 00:00 (98/112): perl-mro-1.29-514.el10.aarch64.rpm 6.8 MB/s | 30 kB 00:00 (99/112): perl-libs-5.40.2-514.el10.aarch64.rpm 183 MB/s | 2.3 MB 00:00 (100/112): perl-overload-1.37-514.el10.noarch.r 9.6 MB/s | 46 kB 00:00 (101/112): perl-threads-2.40-511.el10.aarch64.r 20 MB/s | 58 kB 00:00 (102/112): perl-overloading-0.02-514.el10.noarc 3.6 MB/s | 14 kB 00:00 (103/112): perl-IPC-Open3-1.22-514.el10.noarch. 673 kB/s | 23 kB 00:00 (104/112): perl-threads-shared-1.69-511.el10.aa 17 MB/s | 45 kB 00:00 (105/112): perl-vars-1.05-514.el10.noarch.rpm 4.7 MB/s | 14 kB 00:00 (106/112): zlib-ng-compat-devel-2.2.3-3.el10.aa 13 MB/s | 36 kB 00:00 (107/112): libtomcrypt-1.18.2-21.el10_1.aarch64 4.7 MB/s | 412 kB 00:00 (108/112): libtomcrypt-devel-1.18.2-21.el10_1.a 470 kB/s | 38 kB 00:00 (109/112): libtommath-1.3.1~rc1-3.el10_0.aarch6 2.5 MB/s | 67 kB 00:00 (110/112): libtommath-devel-1.3.1~rc1-3.el10_0. 635 kB/s | 16 kB 00:00 (111/112): procmail-3.24-8.el10.aarch64.rpm 354 kB/s | 181 kB 00:00 (112/112): libstdc++-static-14.4.1-1.el10.aarch 1.5 MB/s | 927 kB 00:00 -------------------------------------------------------------------------------- Total 86 MB/s | 115 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libmpc-1.3.1-7.el10.aarch64 1/112 Installing : cmake-filesystem-3.31.8-1.el10.aarch64 2/112 Installing : libtommath-1.3.1~rc1-3.el10_0.aarch64 3/112 Installing : libstdc++-devel-14.4.1-1.el10.aarch64 4/112 Installing : make-1:4.4.1-9.el10.aarch64 5/112 Installing : expat-2.7.3-1.el10.aarch64 6/112 Installing : emacs-filesystem-1:29.4-13.el10.noarch 7/112 Installing : libtomcrypt-1.18.2-21.el10_1.aarch64 8/112 Installing : cpp-14.4.1-1.el10.aarch64 9/112 Installing : ncurses-c++-libs-6.4-15.20240127.el10.aarch64 10/112 Installing : ncurses-devel-6.4-15.20240127.el10.aarch64 11/112 Installing : m4-1.4.19-11.el10.aarch64 12/112 Installing : libuv-1:1.52.1-1.el10.aarch64 13/112 Installing : libubsan-14.4.1-1.el10.aarch64 14/112 Installing : libasan-14.4.1-1.el10.aarch64 15/112 Installing : kernel-headers-6.12.0-248.el10.aarch64 16/112 Installing : glibc-devel-2.39-128.el10.aarch64 17/112 Installing : libxcrypt-devel-4.4.36-10.el10.aarch64 18/112 Installing : annobin-docs-13.22-1.el10.noarch 19/112 Installing : vim-filesystem-2:9.1.083-13.el10.noarch 20/112 Installing : tzdata-2026b-1.el10.noarch 21/112 Installing : python3-pip-wheel-23.3.2-11.el10.noarch 22/112 Installing : ncurses-6.4-15.20240127.el10.aarch64 23/112 Installing : mpdecimal-2.5.1-12.el10.aarch64 24/112 Installing : python3-libs-3.12.13-2.el10.aarch64 25/112 Installing : python3-3.12.13-2.el10.aarch64 26/112 Installing : cmake-rpm-macros-3.31.8-1.el10.noarch 27/112 Installing : cmake-data-3.31.8-1.el10.noarch 28/112 Installing : cmake-3.31.8-1.el10.aarch64 29/112 Installing : libicu-74.2-5.el10.aarch64 30/112 Installing : libedit-3.1-52.20230828cvs.el10.aarch64 31/112 Installing : libatomic-14.4.1-1.el10.aarch64 32/112 Installing : gcc-14.4.1-1.el10.aarch64 33/112 Running scriptlet: gcc-14.4.1-1.el10.aarch64 33/112 Running scriptlet: groff-base-1.23.0-10.el10.aarch64 34/112 Installing : groff-base-1.23.0-10.el10.aarch64 34/112 Running scriptlet: groff-base-1.23.0-10.el10.aarch64 34/112 Installing : perl-Digest-1.20-511.el10.noarch 35/112 Installing : perl-FileHandle-2.05-514.el10.noarch 36/112 Installing : perl-B-1.89-514.el10.aarch64 37/112 Installing : perl-Digest-MD5-2.59-6.el10.aarch64 38/112 Installing : perl-libnet-3.15-512.el10.noarch 39/112 Installing : perl-Data-Dumper-2.189-512.el10.aarch64 40/112 Installing : perl-URI-5.27-3.el10.noarch 41/112 Installing : perl-IO-Socket-IP-0.42-512.el10.noarch 42/112 Installing : perl-AutoLoader-5.74-514.el10.noarch 43/112 Installing : perl-Net-SSLeay-1.94-9.el10.aarch64 44/112 Installing : perl-IO-Socket-SSL-2.085-3.el10.noarch 45/112 Installing : perl-File-Path-2.18-512.el10.noarch 46/112 Installing : perl-Pod-Escapes-1:1.07-511.el10.noarch 47/112 Installing : perl-locale-1.12-514.el10.noarch 48/112 Installing : perl-if-0.61.000-514.el10.noarch 49/112 Installing : perl-Mozilla-CA-20231213-5.el10.noarch 50/112 Installing : perl-Time-Local-2:1.350-511.el10.noarch 51/112 Installing : perl-Text-Tabs+Wrap-2024.001-511.el10.noarch 52/112 Installing : perl-Pod-Simple-1:3.45-511.el10.noarch 53/112 Installing : perl-HTTP-Tiny-0.088-512.el10.noarch 54/112 Installing : perl-File-Temp-1:0.231.100-512.el10.noarch 55/112 Installing : perl-Term-Cap-1.18-511.el10.noarch 56/112 Installing : perl-IPC-Open3-1.22-514.el10.noarch 57/112 Installing : perl-POSIX-2.20-514.el10.aarch64 58/112 Installing : perl-Class-Struct-0.68-514.el10.noarch 59/112 Installing : perl-Term-ANSIColor-5.01-512.el10.noarch 60/112 Installing : perl-Pod-Perldoc-3.28.01-512.el10.noarch 61/112 Installing : perl-podlators-1:5.01-511.el10.noarch 62/112 Installing : perl-File-stat-1.14-514.el10.noarch 63/112 Installing : perl-Symbol-1.09-514.el10.noarch 64/112 Installing : perl-SelectSaver-1.02-514.el10.noarch 65/112 Installing : perl-Socket-4:2.038-511.el10.aarch64 66/112 Installing : perl-Pod-Usage-4:2.03-511.el10.noarch 67/112 Installing : perl-overloading-0.02-514.el10.noarch 68/112 Installing : perl-IO-1.55-514.el10.aarch64 69/112 Installing : perl-mro-1.29-514.el10.aarch64 70/112 Installing : perl-base-2.27-514.el10.noarch 71/112 Installing : perl-Fcntl-1.18-514.el10.aarch64 72/112 Installing : perl-Text-ParseWords-3.31-511.el10.noarch 73/112 Installing : perl-Getopt-Long-1:2.58-3.el10.noarch 74/112 Installing : perl-vars-1.05-514.el10.noarch 75/112 Installing : perl-overload-1.37-514.el10.noarch 76/112 Installing : perl-Storable-1:3.32-511.el10.aarch64 77/112 Installing : perl-Getopt-Std-1.14-514.el10.noarch 78/112 Installing : perl-File-Basename-2.86-514.el10.noarch 79/112 Installing : perl-Errno-1.38-514.el10.aarch64 80/112 Installing : perl-parent-1:0.241-512.el10.noarch 81/112 Installing : perl-constant-1.33-512.el10.noarch 82/112 Installing : perl-Scalar-List-Utils-5:1.63-511.el10.aarch64 83/112 Installing : perl-MIME-Base64-3.16-511.el10.aarch64 84/112 Installing : perl-Encode-4:3.21-511.el10.aarch64 85/112 Installing : perl-DynaLoader-1.56-514.el10.aarch64 86/112 Installing : perl-PathTools-3.91-512.el10.aarch64 87/112 Installing : perl-Exporter-5.78-511.el10.noarch 88/112 Installing : perl-Carp-1.54-511.el10.noarch 89/112 Installing : perl-libs-4:5.40.2-514.el10.aarch64 90/112 Installing : perl-interpreter-4:5.40.2-514.el10.aarch64 91/112 Installing : perl-threads-1:2.40-511.el10.aarch64 92/112 Installing : perl-threads-shared-1.69-511.el10.aarch64 93/112 Installing : perl-Thread-Queue-3.14-511.el10.noarch 94/112 Installing : perl-File-Compare-1.100.800-514.el10.noarch 95/112 Installing : perl-File-Copy-2.41-514.el10.noarch 96/112 Installing : perl-File-Find-1.44-514.el10.noarch 97/112 Installing : autoconf-2.71-13.el10.noarch 98/112 Installing : automake-1.16.5-20.el10.noarch 99/112 Installing : libtool-2.4.7-14.el10.aarch64 100/112 Installing : annobin-plugin-gcc-13.22-1.el10.aarch64 101/112 Running scriptlet: annobin-plugin-gcc-13.22-1.el10.aarch64 101/112 Installing : gcc-c++-14.4.1-1.el10.aarch64 102/112 Installing : gcc-plugin-annobin-14.4.1-1.el10.aarch64 103/112 Running scriptlet: gcc-plugin-annobin-14.4.1-1.el10.aarch64 103/112 Installing : libedit-devel-3.1-52.20230828cvs.el10.aarch64 104/112 Installing : libicu-devel-74.2-5.el10.aarch64 105/112 Installing : libtomcrypt-devel-1.18.2-21.el10_1.aarch64 106/112 Installing : libstdc++-static-14.4.1-1.el10.aarch64 107/112 Installing : libtommath-devel-1.3.1~rc1-3.el10_0.aarch64 108/112 Installing : zlib-ng-compat-devel-2.2.3-3.el10.aarch64 109/112 Installing : procmail-3.24-8.el10.aarch64 110/112 error: failed to open /usr/lib/group for id/name lookup: No such file or directory Installing : systemd-rpm-macros-257-29.el10.noarch 111/112 Installing : chrpath-0.16-25.el10.aarch64 112/112 Running scriptlet: chrpath-0.16-25.el10.aarch64 112/112 Installed products updated. Installed: annobin-docs-13.22-1.el10.noarch annobin-plugin-gcc-13.22-1.el10.aarch64 autoconf-2.71-13.el10.noarch automake-1.16.5-20.el10.noarch chrpath-0.16-25.el10.aarch64 cmake-3.31.8-1.el10.aarch64 cmake-data-3.31.8-1.el10.noarch cmake-filesystem-3.31.8-1.el10.aarch64 cmake-rpm-macros-3.31.8-1.el10.noarch cpp-14.4.1-1.el10.aarch64 emacs-filesystem-1:29.4-13.el10.noarch expat-2.7.3-1.el10.aarch64 gcc-14.4.1-1.el10.aarch64 gcc-c++-14.4.1-1.el10.aarch64 gcc-plugin-annobin-14.4.1-1.el10.aarch64 glibc-devel-2.39-128.el10.aarch64 groff-base-1.23.0-10.el10.aarch64 kernel-headers-6.12.0-248.el10.aarch64 libasan-14.4.1-1.el10.aarch64 libatomic-14.4.1-1.el10.aarch64 libedit-3.1-52.20230828cvs.el10.aarch64 libedit-devel-3.1-52.20230828cvs.el10.aarch64 libicu-74.2-5.el10.aarch64 libicu-devel-74.2-5.el10.aarch64 libmpc-1.3.1-7.el10.aarch64 libstdc++-devel-14.4.1-1.el10.aarch64 libstdc++-static-14.4.1-1.el10.aarch64 libtomcrypt-1.18.2-21.el10_1.aarch64 libtomcrypt-devel-1.18.2-21.el10_1.aarch64 libtommath-1.3.1~rc1-3.el10_0.aarch64 libtommath-devel-1.3.1~rc1-3.el10_0.aarch64 libtool-2.4.7-14.el10.aarch64 libubsan-14.4.1-1.el10.aarch64 libuv-1:1.52.1-1.el10.aarch64 libxcrypt-devel-4.4.36-10.el10.aarch64 m4-1.4.19-11.el10.aarch64 make-1:4.4.1-9.el10.aarch64 mpdecimal-2.5.1-12.el10.aarch64 ncurses-6.4-15.20240127.el10.aarch64 ncurses-c++-libs-6.4-15.20240127.el10.aarch64 ncurses-devel-6.4-15.20240127.el10.aarch64 perl-AutoLoader-5.74-514.el10.noarch perl-B-1.89-514.el10.aarch64 perl-Carp-1.54-511.el10.noarch perl-Class-Struct-0.68-514.el10.noarch perl-Data-Dumper-2.189-512.el10.aarch64 perl-Digest-1.20-511.el10.noarch perl-Digest-MD5-2.59-6.el10.aarch64 perl-DynaLoader-1.56-514.el10.aarch64 perl-Encode-4:3.21-511.el10.aarch64 perl-Errno-1.38-514.el10.aarch64 perl-Exporter-5.78-511.el10.noarch perl-Fcntl-1.18-514.el10.aarch64 perl-File-Basename-2.86-514.el10.noarch perl-File-Compare-1.100.800-514.el10.noarch perl-File-Copy-2.41-514.el10.noarch perl-File-Find-1.44-514.el10.noarch perl-File-Path-2.18-512.el10.noarch perl-File-Temp-1:0.231.100-512.el10.noarch perl-File-stat-1.14-514.el10.noarch perl-FileHandle-2.05-514.el10.noarch perl-Getopt-Long-1:2.58-3.el10.noarch perl-Getopt-Std-1.14-514.el10.noarch perl-HTTP-Tiny-0.088-512.el10.noarch perl-IO-1.55-514.el10.aarch64 perl-IO-Socket-IP-0.42-512.el10.noarch perl-IO-Socket-SSL-2.085-3.el10.noarch perl-IPC-Open3-1.22-514.el10.noarch perl-MIME-Base64-3.16-511.el10.aarch64 perl-Mozilla-CA-20231213-5.el10.noarch perl-Net-SSLeay-1.94-9.el10.aarch64 perl-POSIX-2.20-514.el10.aarch64 perl-PathTools-3.91-512.el10.aarch64 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.aarch64 perl-SelectSaver-1.02-514.el10.noarch perl-Socket-4:2.038-511.el10.aarch64 perl-Storable-1:3.32-511.el10.aarch64 perl-Symbol-1.09-514.el10.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-Thread-Queue-3.14-511.el10.noarch perl-Time-Local-2:1.350-511.el10.noarch perl-URI-5.27-3.el10.noarch perl-base-2.27-514.el10.noarch perl-constant-1.33-512.el10.noarch perl-if-0.61.000-514.el10.noarch perl-interpreter-4:5.40.2-514.el10.aarch64 perl-libnet-3.15-512.el10.noarch perl-libs-4:5.40.2-514.el10.aarch64 perl-locale-1.12-514.el10.noarch perl-mro-1.29-514.el10.aarch64 perl-overload-1.37-514.el10.noarch perl-overloading-0.02-514.el10.noarch perl-parent-1:0.241-512.el10.noarch perl-podlators-1:5.01-511.el10.noarch perl-threads-1:2.40-511.el10.aarch64 perl-threads-shared-1.69-511.el10.aarch64 perl-vars-1.05-514.el10.noarch procmail-3.24-8.el10.aarch64 python3-3.12.13-2.el10.aarch64 python3-libs-3.12.13-2.el10.aarch64 python3-pip-wheel-23.3.2-11.el10.noarch systemd-rpm-macros-257-29.el10.noarch tzdata-2026b-1.el10.noarch vim-filesystem-2:9.1.083-13.el10.noarch zlib-ng-compat-devel-2.2.3-3.el10.aarch64 Complete! Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1784073600 Wrote: /builddir/build/SRPMS/firebird-5.0.4.1812-2.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 44 kB/s | 1.5 kB 00:00 CentOS Stream 10 - BaseOS 83 kB/s | 6.8 kB 00:00 CentOS Stream 10 - AppStream 73 kB/s | 6.9 kB 00:00 CentOS Stream 10 - CRB 64 kB/s | 6.7 kB 00:00 CentOS Stream 10 - Extras packages 34 kB/s | 7.3 kB 00:00 Extra Packages for Enterprise Linux 10 - aarch6 301 kB/s | 21 kB 00:00 Package autoconf-2.71-13.el10.noarch is already installed. Package automake-1.16.5-20.el10.noarch is already installed. Package chrpath-0.16-25.el10.aarch64 is already installed. Package cmake-3.31.8-1.el10.aarch64 is already installed. Package gcc-c++-14.4.1-1.el10.aarch64 is already installed. Package libedit-devel-3.1-52.20230828cvs.el10.aarch64 is already installed. Package libicu-devel-74.2-5.el10.aarch64 is already installed. Package libstdc++-static-14.4.1-1.el10.aarch64 is already installed. Package libtomcrypt-devel-1.18.2-21.el10_1.aarch64 is already installed. Package libtommath-devel-1.3.1~rc1-3.el10_0.aarch64 is already installed. Package libtool-2.4.7-14.el10.aarch64 is already installed. Package make-1:4.4.1-9.el10.aarch64 is already installed. Package ncurses-devel-6.4-15.20240127.el10.aarch64 is already installed. Package procmail-3.24-8.el10.aarch64 is already installed. Package sed-4.9-5.el10.aarch64 is already installed. Package systemd-rpm-macros-257-29.el10.noarch is already installed. Package unzip-6.0-69.el10.aarch64 is already installed. Package zlib-ng-compat-devel-2.2.3-3.el10.aarch64 is already installed. Dependencies resolved. Nothing to do. Complete! Finish: build setup for firebird-5.0.4.1812-2.el10.src.rpm Start: rpmbuild firebird-5.0.4.1812-2.el10.src.rpm Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1784073600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.B2GpqY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Firebird-5.0.4.1812-0-source + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Firebird-5.0.4.1812-0-source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd Firebird-5.0.4.1812-0-source + rm -rf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #101 (add-pkgconfig-files.patch):' Patch #101 (add-pkgconfig-files.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file builds/install/arch-specific/linux/misc/fbclient.pc.in patching file configure.ac Patch #203 (no-copy-from-icu.patch): + echo 'Patch #203 (no-copy-from-icu.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/isql/isql.epp Hunk #1 succeeded at 176 (offset 3 lines). patching file builds/posix/Makefile.in Hunk #1 succeeded at 604 (offset 61 lines). Patch #205 (cloop-honour-build-flags.patch): + echo 'Patch #205 (cloop-honour-build-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extern/cloop/Makefile + echo 'Patch #401 (btyacc-honour-build-flags.patch):' Patch #401 (btyacc-honour-build-flags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extern/btyacc/Makefile + echo 'Patch #501 (examples-honour-build-flags.patch):' Patch #501 (examples-honour-build-flags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file builds/posix/Makefile.in.plugins_examples patching file examples/extauth/Makefile + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YGmpjJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 Firebird-5.0.4.1812-0-source + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + export 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks' + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks' + NOCONFIGURE=1 + ./autogen.sh AUTORECONF=autoreconf Running autoreconf ... autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I . --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'builds/make.new/config'. libtoolize: copying file 'builds/make.new/config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal -I . --force autoreconf: running: /usr/bin/autoconf --force configure.ac:16: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:16: the top level configure.ac:702: warning: The macro `AC_LANG_C' is obsolete. configure.ac:702: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... acx_pthread.m4:4: ACX_PTHREAD is expanded from... configure.ac:702: the top level configure.ac:702: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:702: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acx_pthread.m4:4: ACX_PTHREAD is expanded from... configure.ac:702: the top level configure.ac:888: warning: The macro `AC_PROG_CC_STDC' is obsolete. configure.ac:888: You should run autoupdate. ./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... configure.ac:888: the top level configure.ac:903: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:903: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:903: the top level configure.ac:918: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:918: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:918: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: configure.ac: not using Automake autoreconf: 'builds/make.new/config/config.sub' is updated autoreconf: 'builds/make.new/config/config.guess' is updated autoreconf: Leaving directory '.' Autogen skipping configure process. + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks' + export CXXFLAGS + FFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./builds/make.new/config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./builds/make.new/config/config.guess ++ basename ./builds/make.new/config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./builds/make.new/config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './builds/make.new/config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./builds/make.new/config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./builds/make.new/config/config.sub ++ basename ./builds/make.new/config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./builds/make.new/config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './builds/make.new/config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./extern/editline/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./extern/editline/config.guess ++ basename ./extern/editline/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./extern/editline/config.guess '/usr/lib/rpm/redhat/config.guess' -> './extern/editline/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./extern/editline/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./extern/editline/config.sub ++ basename ./extern/editline/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./extern/editline/config.sub '/usr/lib/rpm/redhat/config.sub' -> './extern/editline/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors"~' ./builds/make.new/config/ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors"~' ./extern/editline/ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=aarch64-redhat-linux --host=aarch64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --prefix=/usr --with-system-editline --with-fbbin=/usr/bin --with-fbsbin=/usr/sbin --with-fbconf=/etc/firebird --with-fblib=/usr/lib64 --with-fbinclude=/usr/include --with-fbdoc=/usr/share/doc/firebird --with-fbsample=/usr/share/doc/firebird/sample --with-fbsample-db=/var/lib/firebird/data --with-fbhelp=/var/lib/firebird/system --with-fbintl=/usr/lib64/firebird/intl --with-fbmisc=/usr/share/firebird/misc --with-fbsecure-db=/var/lib/firebird/secdb --with-fbmsg=/var/lib/firebird/system --with-fblog=/var/log/firebird --with-fbglock=/run/firebird --with-fbplugins=/usr/lib64/firebird/plugins --with-fbtzdata=/var/lib/firebird/tzdata configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-fbhelp checking whether make sets $(MAKE)... yes checking build system type... aarch64-redhat-linux-gnu checking for /proc/self/maps... yes checking whether everything is installed to the same prefix... no checking whether binary relocation support should be enabled... no checking host system type... aarch64-redhat-linux-gnu checking for aarch64-redhat-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for readline in -ledit... yes checking for gawk... gawk checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for aarch64-redhat-linux-objcopy... no checking for objcopy... objcopy checking for aarch64-redhat-linux-objdump... no checking for objdump... objdump checking for aarch64-redhat-linux-ranlib... no checking for ranlib... ranlib checking for aarch64-redhat-linux-readelf... no checking for readelf... readelf checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-redhat-linux-file... no checking for file... file checking for aarch64-redhat-linux-objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-strip... no checking for strip... strip checking for aarch64-redhat-linux-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-redhat-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/param.h... yes checking for vfork.h... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for assert.h... yes checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for pwd.h... yes checking for locale.h... yes checking for math.h... yes checking for pthread.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/uio.h... yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for sys/param.h... (cached) yes checking for sys/mount.h... yes checking for sys/ioctl.h... yes checking for sys/select.h... yes checking for sys/syscall.h... yes checking for sys/signal.h... yes checking for limits.h... yes checking for setjmp.h... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for signal.h... yes checking for sys/signal.h... (cached) yes checking for sys/siginfo.h... no checking for termio.h... yes checking for termios.h... yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking for unistd.h... (cached) yes checking for varargs.h... no checking for crypt.h... yes checking for netinet/in.h... yes checking for rpc/rpc.h... no checking for netconfig.h... no checking for rpc/xdr.h... no checking for aio.h... yes checking for mntent.h... yes checking for mnttab.h... no checking for sys/mntent.h... no checking for sys/mnttab.h... no checking for sys/ipc.h... yes checking for sys/file.h... yes checking for sys/resource.h... yes checking for sys/sem.h... yes checking for semaphore.h... yes checking for float.h... yes checking for poll.h... yes checking for langinfo.h... yes checking for iconv.h... yes checking for linux/falloc.h... yes checking for utime.h... yes checking for socket.h... no checking for sys/socket.h... yes checking for sys/sockio.h... no checking for winsock2.h... no checking for gcc options needed to detect all undeclared functions... none needed checking whether SOCK_CLOEXEC is declared... yes checking for zlib.h... yes checking for unicode/ucnv.h... yes checking for main in -licuuc... yes checking for tommath.h... yes checking for mp_init in -ltommath... yes checking for tomcrypt.h... yes checking for sha1_init in -ltomcrypt... yes checking for tgetent in -lcurses... yes checking for library containing dlopen... none required checking for main in -lm... yes checking for library containing inet_aton... none required checking for main in -latomic... yes checking for main in -lsupc++... yes checking for main in -lgcc_eh... yes checking whether the C++ compiler understands noexcept... yes checking for gettimeofday... yes checking if gettimeofday accepts second (timezone) argument... yes checking for time... yes checking for times... yes checking for nanosleep... yes checking for library containing gethostname... none required checking for library containing gethostbyname... none required checking for library containing connect... none required checking for strcasecmp... yes checking for stricmp... no checking for strncasecmp... yes checking for strnicmp... no checking for library containing dirname... none required checking for dirname... yes checking for sigaction... yes checking for setitimer... yes checking for snprintf... yes checking for vsnprintf... yes checking for swab... yes checking for _swab... no checking for getpagesize... yes checking for fork... yes checking for vfork... yes checking for working mmap... yes checking for pid_t... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether setpgrp requires zero arguments... yes checking for setpgid... yes checking whether getpgrp requires zero arguments... yes checking for flock... yes checking for dladdr... yes checking for initgroups... yes checking for getpagesize... (cached) yes checking for pread... yes checking for pwrite... yes checking for getcwd... yes checking for getwd... yes checking for setmntent... yes checking for getmntent... yes checking if getmntent needs second argument... no checking for setrlimit... yes checking for getrlimit... yes checking for tcgetattr... yes checking for strdup... yes checking for mkstemp... yes checking for pthread_keycreate... no checking for pthread_key_create... yes checking for llrint... yes checking for localtime_r... yes checking for gmtime_r... yes checking for ctime_r... yes checking for fchmod... yes checking for semtimedop... yes checking for fegetenv... yes checking for strerror_r... yes checking for qsort_r... yes checking for fdatasync... yes checking for fsync... yes checking for poll... yes checking for dlinfo... yes checking if dlinfo supports RTLD_DI_LINKMAP... yes checking if dlinfo supports RTLD_DI_ORIGIN... yes checking for library containing clock_gettime... none required checking for clock_gettime... yes checking for pthread_mutexattr_setprotocol... yes checking for pthread_mutexattr_setrobust... yes checking for pthread_mutex_consistent... yes checking for pthread_rwlockattr_setkind... no checking for pthread_cancel... yes checking for pthread_atfork... yes checking for sigset... yes checking for fallocate... yes checking for accept4... yes checking for library containing sem_init... none required checking for sem_timedwait... yes checking for sem_init... yes checking for working sem_init()... yes checking for library containing iconv_open... none required checking for library containing libiconv_open... no checking whether byte ordering is bigendian... no checking for working volatile... yes checking for off_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for native large file support... yes checking size of void *... 8 checking size of long... 8 checking size of size_t... 8 checking for socklen_t... yes checking for semun... no checking if sem.h defines semun... no checking for struct XDR::xdr_ops... no checking for struct xdr_ops... no checking for struct dirent.d_type... yes checking alignment of long... 8 checking alignment of double... 8 checking correctness of comparing 64-bit integers... success checking for /proc/self/exe... yes configure: creating ./config.status Creating Debug directories Creating Release directories files are identical config.status: creating gen/Debug/firebird/firebird.conf config.status: creating gen/Debug/firebird/plugins.conf config.status: creating gen/Debug/firebird/databases.conf config.status: creating gen/Debug/firebird/fbtrace.conf config.status: creating gen/Debug/firebird/replication.conf config.status: creating gen/Debug/firebird/intl/fbintl.conf config.status: creating gen/Release/firebird/firebird.conf config.status: creating gen/Release/firebird/plugins.conf config.status: creating gen/Release/firebird/databases.conf config.status: creating gen/Release/firebird/fbtrace.conf config.status: creating gen/Release/firebird/replication.conf config.status: creating gen/Release/firebird/intl/fbintl.conf config.status: creating gen/Release/firebird/bin/fb_config config.status: creating gen/Release/firebird/bin/posixLibrary.sh config.status: creating gen/Release/firebird/bin/install.sh config.status: creating gen/Release/firebird/bin/FirebirdUninstall.sh config.status: creating gen/Release/firebird/bin/changeServerMode.sh config.status: creating gen/Release/firebird/bin/registerDatabase.sh config.status: creating gen/vers.sh config.status: creating gen/install/makeInstallImage.sh config.status: creating gen/install/misc/firebird.init.d.generic config.status: creating gen/install/misc/firebird.init.d.mandrake config.status: creating gen/install/misc/firebird.init.d.suse config.status: creating gen/install/misc/firebird.init.d.debian config.status: creating gen/install/misc/firebird.init.d.gentoo config.status: creating gen/install/misc/firebird.init.d.slackware config.status: creating gen/install/misc/rc.config.firebird config.status: creating gen/install/misc/fbclient.pc config.status: creating gen/install/misc/firebird.service config.status: creating gen/Release/firebird/bin/linuxLibrary.sh config.status: creating gen/make.rules config.status: creating gen/make.defaults config.status: creating gen/make.platform config.status: creating gen/darwin.defaults config.status: creating gen/make.shared.variables config.status: creating gen/make.shared.targets config.status: creating gen/Makefile config.status: creating gen/examples/Makefile.examples config.status: creating gen/Makefile.plugins_examples config.status: creating gen/Makefile.install config.status: creating Makefile config.status: creating src/include/gen/autoconfig.auto config.status: executing libtool commands The Firebird5 package has been configured with the following options: configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-fbhelp Raw devices : enabled Service name : gds_db Service port : 3050 GPRE modules : c_cxx.cpp Install Dir : /usr + make -j4 make -C gen firebird make[1]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make TARGET?=Release master_process make[2]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' ln -sf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/autoconfig.auto /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/autoconfig.h make updateBuildNum make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make[3]: Nothing to be done for 'updateBuildNum'. make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make export_lists make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' sh vers.sh firebird.vers sh vers.sh fbintl.vers sh vers.sh ib_util.vers sh vers.sh udr_plugin.vers sh vers.sh empty.vers sh vers.sh fbplugin.vers make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make external make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' CC="gcc" CFLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing" AR="ar" make -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/btyacc make[4]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/btyacc' gcc -fPIC -pie -c -o closure.o closure.c gcc -fPIC -pie -c -o error.o error.c gcc -fPIC -pie -c -o lalr.o lalr.c gcc -fPIC -pie -c -o lr0.o lr0.c gcc -fPIC -pie -c -o main.o main.c gcc -fPIC -pie -c -o mkpar.o mkpar.c gcc -fPIC -pie -c -o output.o output.c gcc -fPIC -pie -c -o mstring.o mstring.c gcc -fPIC -pie -c -o reader.o reader.c gcc -fPIC -pie -c -o readskel.o readskel.c gcc -fPIC -pie -c -o skeleton.o skeleton.c gcc -fPIC -pie -c -o symtab.o symtab.c gcc -fPIC -pie -c -o verbose.o verbose.c gcc -fPIC -pie -c -o warshall.o warshall.c gcc -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 -o btyacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o mstring.o reader.o readskel.o skeleton.o symtab.o verbose.o warshall.o /usr/bin/ld: main.o: in function `create_file_names': main.c:(.text+0x9e0): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[4]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/btyacc' CXX="g++" make -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/cloop TARGET=release WITH_FPC=0 BUILD_DIR=/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop OUT_DIR=/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/cloop core make[4]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/cloop' g++ -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++11 -O3 src/cloop/Action.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Action.o g++ -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++11 -O3 src/cloop/Expr.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Expr.o g++ -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++11 -O3 src/cloop/Generator.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Generator.o g++ -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++11 -O3 src/cloop/Lexer.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Lexer.o g++ -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++11 -O3 src/cloop/Parser.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Parser.o g++ -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++11 -O3 src/cloop/Main.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Main.o src/cloop/Main.cpp: In function ‘void run(int, const char**)’: src/cloop/Main.cpp:69:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | auto_ptr generator; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from src/cloop/Main.cpp:27: /usr/include/c++/14/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ g++ -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 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Action.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Expr.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Generator.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Lexer.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Parser.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/cloop/release/cloop/Main.o -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/cloop/release/bin/cloop make[4]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/cloop' CC="gcc" CFLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing" AR="ar" make -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/decNumber make[4]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/decNumber' rm -f -f *.o gcc -c -O3 -fPIC decContext.c decDouble.c decNumber.c decPacked.c decQuad.c decSingle.c decimal128.c decimal32.c decimal64.c ar crs libdecFloat.a *.o rm -f -f *.o make[4]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/decNumber' ln -sf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/decNumber/libdecFloat.a /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release CXX="g++" CXXFLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC" AR="ar" make -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 make[4]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2' g++ -c -o obj/util/rune.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG util/rune.cc g++ -c -o obj/util/strutil.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG util/strutil.cc g++ -c -o obj/re2/bitstate.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/bitstate.cc g++ -c -o obj/re2/compile.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/compile.cc g++ -c -o obj/re2/dfa.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/dfa.cc g++ -c -o obj/re2/filtered_re2.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/filtered_re2.cc g++ -c -o obj/re2/mimics_pcre.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/mimics_pcre.cc g++ -c -o obj/re2/nfa.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/nfa.cc g++ -c -o obj/re2/onepass.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/onepass.cc g++ -c -o obj/re2/parse.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/parse.cc g++ -c -o obj/re2/perl_groups.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/perl_groups.cc g++ -c -o obj/re2/prefilter.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/prefilter.cc g++ -c -o obj/re2/prefilter_tree.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/prefilter_tree.cc g++ -c -o obj/re2/prog.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/prog.cc g++ -c -o obj/re2/re2.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/re2.cc g++ -c -o obj/re2/regexp.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/regexp.cc g++ -c -o obj/re2/set.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/set.cc g++ -c -o obj/re2/simplify.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/simplify.cc g++ -c -o obj/re2/stringpiece.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/stringpiece.cc g++ -c -o obj/re2/tostring.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/tostring.cc g++ -c -o obj/re2/unicode_casefold.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/unicode_casefold.cc g++ -c -o obj/re2/unicode_groups.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/unicode_groups.cc g++ -c -o obj/so/util/rune.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG util/rune.cc g++ -c -o obj/so/util/strutil.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG util/strutil.cc g++ -c -o obj/so/re2/bitstate.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/bitstate.cc g++ -c -o obj/so/re2/compile.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/compile.cc g++ -c -o obj/so/re2/dfa.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/dfa.cc g++ -c -o obj/so/re2/filtered_re2.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/filtered_re2.cc g++ -c -o obj/so/re2/mimics_pcre.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/mimics_pcre.cc g++ -c -o obj/so/re2/nfa.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/nfa.cc g++ -c -o obj/so/re2/onepass.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/onepass.cc g++ -c -o obj/so/re2/parse.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/parse.cc g++ -c -o obj/so/re2/perl_groups.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/perl_groups.cc g++ -c -o obj/so/re2/prefilter.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/prefilter.cc g++ -c -o obj/so/re2/prefilter_tree.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/prefilter_tree.cc g++ -c -o obj/so/re2/prog.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/prog.cc g++ -c -o obj/so/re2/re2.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/re2.cc g++ -c -o obj/so/re2/regexp.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/regexp.cc g++ -c -o obj/so/re2/set.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/set.cc g++ -c -o obj/so/re2/simplify.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/simplify.cc g++ -c -o obj/so/re2/stringpiece.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/stringpiece.cc g++ -c -o obj/so/re2/tostring.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/tostring.cc g++ -c -o obj/so/re2/unicode_casefold.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/unicode_casefold.cc g++ -c -o obj/so/re2/unicode_groups.o -fPIC -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O3 -g -fPIC -DNDEBUG re2/unicode_groups.cc ar -rv obj/libre2.a obj/util/rune.o obj/util/strutil.o obj/re2/bitstate.o obj/re2/compile.o obj/re2/dfa.o obj/re2/filtered_re2.o obj/re2/mimics_pcre.o obj/re2/nfa.o obj/re2/onepass.o obj/re2/parse.o obj/re2/perl_groups.o obj/re2/prefilter.o obj/re2/prefilter_tree.o obj/re2/prog.o obj/re2/re2.o obj/re2/regexp.o obj/re2/set.o obj/re2/simplify.o obj/re2/stringpiece.o obj/re2/tostring.o obj/re2/unicode_casefold.o obj/re2/unicode_groups.o ar: creating obj/libre2.a a - obj/util/rune.o a - obj/util/strutil.o a - obj/re2/bitstate.o a - obj/re2/compile.o a - obj/re2/dfa.o a - obj/re2/filtered_re2.o a - obj/re2/mimics_pcre.o a - obj/re2/nfa.o a - obj/re2/onepass.o a - obj/re2/parse.o a - obj/re2/perl_groups.o a - obj/re2/prefilter.o a - obj/re2/prefilter_tree.o a - obj/re2/prog.o a - obj/re2/re2.o a - obj/re2/regexp.o a - obj/re2/set.o a - obj/re2/simplify.o a - obj/re2/stringpiece.o a - obj/re2/tostring.o a - obj/re2/unicode_casefold.o a - obj/re2/unicode_groups.o g++ -shared -Wl,-soname,libre2.so.9,--version-script,libre2.symbols -pthread -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 -o obj/so/libre2.so.9 obj/so/util/rune.o obj/so/util/strutil.o obj/so/re2/bitstate.o obj/so/re2/compile.o obj/so/re2/dfa.o obj/so/re2/filtered_re2.o obj/so/re2/mimics_pcre.o obj/so/re2/nfa.o obj/so/re2/onepass.o obj/so/re2/parse.o obj/so/re2/perl_groups.o obj/so/re2/prefilter.o obj/so/re2/prefilter_tree.o obj/so/re2/prog.o obj/so/re2/re2.o obj/so/re2/regexp.o obj/so/re2/set.o obj/so/re2/simplify.o obj/so/re2/stringpiece.o obj/so/re2/tostring.o obj/so/re2/unicode_casefold.o obj/so/re2/unicode_groups.o ln -sf libre2.so.9 obj/so/libre2.so make[4]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2' ln -sf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2/obj/libre2.a /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release make libcds make[4]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/lib/Release cd /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/lib/Release; \ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER="g++" -DCMAKE_CXX_FLAGS=-fPIC /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is GNU 14.4.1 -- The CXX compiler identification is GNU 14.4.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 -- 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 CMake Warning (dev) at CMakeLists.txt:24 (set): implicitly converting 'string' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Binary output path: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/lib/Release/bin -- Looking for C++ include linux/membarrier.h C++ std: -std=c++11 (default) -- Looking for C++ include linux/membarrier.h - not found Build type -- Release Compiler version: GNU 14.4.1 System: Linux version: 7.0.10-201.fc44.aarch64 Target architecture: armv8 Compiler flags: -fPIC -O3 -DNDEBUG -std=c++11 -Wall;-Wextra;-pedantic Exe flags: -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -- Configuring done (0.6s) -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/lib/Release AR="ar" make -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/lib/Release make[5]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/lib/Release' [ 13%] Building CXX object CMakeFiles/cds.dir/src/hp.cpp.o [ 13%] Building CXX object CMakeFiles/cds-s.dir/src/init.cpp.o [ 13%] Building CXX object CMakeFiles/cds.dir/src/init.cpp.o [ 18%] Building CXX object CMakeFiles/cds-s.dir/src/hp.cpp.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/linux/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/init.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/init.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/linux/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/init.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/init.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/hp.h:11, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/hp.cpp:9: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/hp.h:11, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/hp.cpp:9: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/hp_common.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/hp.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/hp_common.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/hp.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ [ 27%] Building CXX object CMakeFiles/cds-s.dir/src/dhp.cpp.o [ 27%] Building CXX object CMakeFiles/cds.dir/src/dhp.cpp.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/dhp.h:11, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/dhp.cpp:9: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/dhp.h:11, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/dhp.cpp:9: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/hp_common.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/dhp.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/hp_common.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/dhp.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ [ 36%] Building CXX object CMakeFiles/cds.dir/src/urcu_sh.cpp.o [ 36%] Building CXX object CMakeFiles/cds.dir/src/urcu_gp.cpp.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/urcu_gp.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/sh_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/sh.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/urcu_sh.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ [ 40%] Building CXX object CMakeFiles/cds.dir/src/thread_data.cpp.o [ 45%] Building CXX object CMakeFiles/cds-s.dir/src/urcu_gp.cpp.o [ 50%] Building CXX object CMakeFiles/cds-s.dir/src/urcu_sh.cpp.o [ 54%] Building CXX object CMakeFiles/cds.dir/src/topology_hpux.cpp.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/thread_data.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/urcu_gp.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/linux/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/topology_hpux.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/sh_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/sh.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/urcu_sh.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ [ 59%] Building CXX object CMakeFiles/cds.dir/src/topology_linux.cpp.o [ 63%] Building CXX object CMakeFiles/cds-s.dir/src/thread_data.cpp.o [ 68%] Building CXX object CMakeFiles/cds.dir/src/topology_osx.cpp.o [ 72%] Building CXX object CMakeFiles/cds-s.dir/src/topology_hpux.cpp.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/linux/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/topology_linux.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/thread_data.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/linux/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/topology_osx.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/linux/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/topology_hpux.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ [ 77%] Building CXX object CMakeFiles/cds-s.dir/src/topology_linux.cpp.o [ 81%] Building CXX object CMakeFiles/cds.dir/src/dllmain.cpp.o [ 86%] Building CXX object CMakeFiles/cds-s.dir/src/topology_osx.cpp.o [ 90%] Building CXX object CMakeFiles/cds-s.dir/src/dllmain.cpp.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/linux/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/topology_linux.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ [ 95%] Linking CXX shared library bin/libcds.so In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/gp_decl.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/details/_common.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/threading/model.h:9, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/linux/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/os/topology.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/src/topology_osx.cpp:6: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h: In constructor ‘cds::urcu::epoch_retired_ptr::epoch_retired_ptr(const cds::gc::details::retired_ptr&, uint64_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:436:36: warning: implicitly-declared ‘constexpr cds::gc::details::retired_ptr::retired_ptr(const cds::gc::details::retired_ptr&)’ is deprecated [-Wdeprecated-copy] 436 | , m_nEpoch( nEpoch ) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/urcu/details/base.h:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/cds/gc/details/retired_ptr.h:59:26: note: because ‘cds::gc::details::retired_ptr’ has user-provided ‘cds::gc::details::retired_ptr& cds::gc::details::retired_ptr::operator=(const cds::gc::details::retired_ptr&)’ 59 | retired_ptr& operator =( retired_ptr const& s) noexcept | ^~~~~~~~ [ 95%] Built target cds [100%] Linking CXX static library bin/libcds-s.a [100%] Built target cds-s make[5]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/lib/Release' ln -sf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds/lib/Release/bin/libcds-s.a /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/libcds.a make[4]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make updateCloopInterfaces make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/cloop/release/bin/cloop /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/FirebirdInterface.idl c++ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h IDL_FB_INTERFACES_H Firebird I g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/msgs/build_file.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/msgs/build_file.o gcc -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/def_awk /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/misc/def_awk.c gcc -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/isc_grep /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/misc/isc_grep.c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/cloop/release/bin/cloop /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/FirebirdInterface.idl c-header /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/fb_c_api.tmp FB_C_API_H I macro cat /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/fb_c_api.hdr /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/fb_c_api.tmp >/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/fb_c_api.h g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/msgs/build_file.o -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/build_file /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/build_file -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/iberror_codes.pas cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/misc/pascal/gds_codes.pas /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/iberror.pas cat /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/iberror_codes.pas >> /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/iberror.pas cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/misc/pascal/fb_get_master_interface.pas /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/func.pas /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/def_awk >/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/func.pas /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/def_awk >/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/func.pas /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/isc_grep >/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/func.pas /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/cloop/release/bin/cloop /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/FirebirdInterface.idl pascal /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/Firebird.pas Firebird --uses SysUtils \ --interfaceFile /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/misc/pascal/Pascal.interface.pas \ --implementationFile /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/misc/pascal/Pascal.implementation.pas \ --exceptionClass FbException \ --functionsFile /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/func.pas \ --prefix I make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make rest make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/build_file -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/firebird.msg -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/iberror_c.h chmod 666 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/firebird.msg unzip -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/icu/tzdata/le.zip -d /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/tzdata Archive: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/icu/tzdata/le.zip inflating: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/tzdata/metaZones.res inflating: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/tzdata/timezoneTypes.res inflating: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/tzdata/windowsZones.res inflating: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/tzdata/zoneinfo64.res inflating: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/tzdata/ids.dat touch /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/tzdata/ids.dat make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make yvalve make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/DistributedTransaction.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/DistributedTransaction.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/MasterImplementation.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/MasterImplementation.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/PluginManager.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/PluginManager.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/alt.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/alt.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/DistributedTransaction.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/DistributedTransaction.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/MasterImplementation.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/MasterImplementation.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/alt.cpp: In function ‘ISC_STATUS gds__ddl(ISC_STATUS*, FB_API_HANDLE*, FB_API_HANDLE*, SSHORT, const SCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/alt.cpp:594:23: warning: ‘ISC_STATUS isc_ddl(ISC_STATUS*, isc_db_handle*, isc_tr_handle*, short int, const ISC_SCHAR*)’ is deprecated [-Wdeprecated-declarations] 594 | return isc_ddl(status_vector, db_handle, tra_handle, ddl_length, ddl); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/Interface.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/fb_exception.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/locks.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/classes/init.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/alt.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/ibase.h:721:41: note: declared here 721 | ISC_STATUS FB_API_DEPRECATED ISC_EXPORT isc_ddl(ISC_STATUS*, | ^~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/PluginManager.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/PluginManager.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/YObjects.h:32: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITransactionImpl<{anonymous}::DTransaction, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITransactionBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::DTransaction; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::DTransaction, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:9667:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITransactionBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::DTransaction; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::DTransaction, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/YObjects.h:32: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Why::Dispatcher; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Why::Dispatcher; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_add(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:382:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator++()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:132:17, inlined from ‘void Firebird::RefCntIface::addRef() [with C = Firebird::ITransactionImpl<{anonymous}::DTransaction, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:112:3, inlined from ‘virtual {anonymous}::DTransaction* {anonymous}::DTransaction::enterDtc(Firebird::CheckStatusWrapper*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/DistributedTransaction.cpp:495:18: /usr/include/c++/14/bits/atomic_base.h:631:34: warning: ‘long unsigned int __atomic_add_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 631 | { return __atomic_fetch_add(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In member function ‘virtual {anonymous}::DTransaction* {anonymous}::DTransaction::enterDtc(Firebird::CheckStatusWrapper*)’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_add(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:382:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator++()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:132:17, inlined from ‘void Firebird::RefCntIface::addRef() [with C = Firebird::ITransactionImpl<{anonymous}::DTransaction, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:112:3, inlined from ‘virtual {anonymous}::DTransaction* {anonymous}::DTransaction::enterDtc(Firebird::CheckStatusWrapper*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/DistributedTransaction.cpp:495:18: /usr/include/c++/14/bits/atomic_base.h:631:34: warning: ‘long unsigned int __atomic_add_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] In member function ‘virtual {anonymous}::DTransaction* {anonymous}::DTransaction::enterDtc(Firebird::CheckStatusWrapper*)’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/PluginManager.h:27: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IConfigEntryImpl<{anonymous}::ConfigParameterAccess, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IConfigEntryBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ConfigParameterAccess; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::ConfigParameterAccess, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8278:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IConfigEntryBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ConfigParameterAccess; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::ConfigParameterAccess, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/array.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/array.o In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IConfigImpl<{anonymous}::ConfigAccess, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IConfigBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ConfigAccess; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::ConfigAccess, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8393:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IConfigBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ConfigAccess; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::ConfigAccess, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/blob.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/blob.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/gds.o In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IPluginSetImpl<{anonymous}::PluginSet, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IPluginSetBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::PluginSet; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::PluginSet, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8139:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IPluginSetBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::PluginSet; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::PluginSet, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/blob.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/array.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/os/path_utils.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp:49: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IPluginConfigImpl<{anonymous}::FactoryParameter, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IPluginConfigBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::FactoryParameter; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::FactoryParameter, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8658:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IPluginConfigBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::FactoryParameter; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::FactoryParameter, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp: In function ‘SLONG safe_interpret(char*, FB_SIZE_T, const ISC_STATUS**, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp:972:73: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘SLONG’ {aka ‘int’} [-Wformat=] 972 | sprintf(s, "unknown ISC error %ld", (SLONG) code); // TXNN | ~~^ ~~~~~~~~~~~~ | | | | | SLONG {aka int} | long int | %d /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp:997:49: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘SLONG’ {aka ‘int’} [-Wformat=] 997 | sprintf(s, "unknown dos error %ld", (SLONG) code); // TXNN | ~~^ ~~~~~~~~~~~~ | | | | | SLONG {aka int} | long int | %d /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp:1001:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘SLONG’ {aka ‘int’} [-Wformat=] 1001 | sprintf(s, "next/mach error %ld", (SLONG) code); // AP | ~~^ ~~~~~~~~~~~~ | | | | | SLONG {aka int} | long int | %d /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp:1013:59: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘SLONG’ {aka ‘int’} [-Wformat=] 1013 | sprintf(s, "unknown Win32 error %ld", (SLONG) code); // TXNN | ~~^ ~~~~~~~~~~~~ | | | | | SLONG {aka int} | long int | %d /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp: In function ‘void gds__unregister_cleanup(FPTR_VOID_PTR, void*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp:2590:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2590 | for (clean_t** clean_ptr = &cleanup_handlers; clean = *clean_ptr; clean_ptr = &clean->clean_next) | ~~~~~~^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/keywordsStub.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/keywordsStub.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/perf.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/perf.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp: In function ‘void blr_print_verb(gds_ctl*, SSHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp:3544:33: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 3544 | while (n-- > 0) { | ~^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/gds.cpp:3392:16: note: ‘n’ was declared here 3392 | SSHORT n; | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/preparse.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/preparse.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/user_dsql.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/user_dsql.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/perf.cpp:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/preparse.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/utl.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/why.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/why.o gcc -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/config/os/posix/binreloc.c -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/config/os/posix/binreloc.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/prepa_proto.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/preparse.cpp:28: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Why::Dispatcher; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Why::Dispatcher; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/config/os/posix/config_root.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/config/os/posix/config_root.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/inet.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/inet.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp:56: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp: In member function ‘virtual Why::YAttachment* Why::UtilInterface::executeCreateDatabase(Firebird::CheckStatusWrapper*, unsigned int, const char*, unsigned int, FB_BOOLEAN*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp:606:22: warning: unused variable ‘v3Error’ [-Wunused-variable] 606 | bool v3Error = false; | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp: In member function ‘virtual void Why::UtilInterface::convert(Firebird::CheckStatusWrapper*, unsigned int, unsigned int, unsigned int, const void*, unsigned int, unsigned int, unsigned int, void*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp:807:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 807 | memset(&sourceDesc, 0, sizeof(sourceDesc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/MsgMetadata.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/why.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp:816:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | memset(&targetDesc, 0, sizeof(targetDesc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/merge.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/merge.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/inet.cpp:102: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h: In member function ‘bool rem_port::releasePort()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:1559:28: warning: unused variable ‘locked’ [-Wunused-variable] 1559 | const bool locked = portGuard.tryEnter(); | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../common/os/os_utils.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/inet.cpp:57: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:504:16: required from here 504 | fmt_desc.grow(rpt); | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:486: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/merge.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp: In constructor ‘Why::XpbBuilder::XpbBuilder(unsigned int, const unsigned char*, unsigned int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp:972:112: warning: ‘k’ may be used uninitialized [-Wmaybe-uninitialized] 972 | pb = FB_NEW_POOL(getPool()) ClumpletWriter(getPool(), k, MAX_DPB_SIZE, buf, len); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/utl.cpp:913:38: note: ‘k’ was declared here 913 | ClumpletReader::Kind k; | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h: In member function ‘bool rem_port::releasePort()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:1559:28: warning: unused variable ‘locked’ [-Wunused-variable] 1559 | const bool locked = portGuard.tryEnter(); | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:504:16: required from here 504 | fmt_desc.grow(rpt); | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:486: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/parser.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/parser.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/inet.cpp: In function ‘bool packet_receive(rem_port*, UCHAR*, SSHORT, SSHORT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/inet.cpp:2991:23: warning: ‘timeout’ may be used uninitialized [-Wmaybe-uninitialized] 2991 | const timeval savetime = timeout; | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/inet.cpp:2970:17: note: ‘timeout’ declared here 2970 | timeval timeout; | ^~~~~~~ In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/parser.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h: In member function ‘bool rem_port::releasePort()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:1559:28: warning: unused variable ‘locked’ [-Wunused-variable] 1559 | const bool locked = portGuard.tryEnter(); | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:504:16: required from here 504 | fmt_desc.grow(rpt); | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:486: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/protocol.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/protocol.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/remote.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/remote.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/srp.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/srp.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/YObjects.h:32: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl<{anonymous}::SQLDAMetadata, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::SQLDAMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::SQLDAMetadata, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::SQLDAMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::SQLDAMetadata, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IEventCallbackImpl<{anonymous}::WaitCallback, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IEventCallbackBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::WaitCallback; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::WaitCallback, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:9214:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IEventCallbackBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::WaitCallback; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::WaitCallback, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Why::Dispatcher; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Why::Dispatcher; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IEventCallbackImpl<{anonymous}::QueCallback, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/yvalve/../yvalve/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IEventCallbackBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::QueCallback; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::QueCallback, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:9214:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IEventCallbackBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::QueCallback; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::QueCallback, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/protocol.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/remote.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h: In member function ‘bool rem_port::releasePort()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:1559:28: warning: unused variable ‘locked’ [-Wunused-variable] 1559 | const bool locked = portGuard.tryEnter(); | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h: In member function ‘bool rem_port::releasePort()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:1559:28: warning: unused variable ‘locked’ [-Wunused-variable] 1559 | const bool locked = portGuard.tryEnter(); | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/remote.cpp: In member function ‘void Rtr::setupInlineBlob(P_INLINE_BLOB*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/remote.cpp:1000:18: warning: unused variable ‘old’ [-Wunused-variable] 1000 | if (Rbl* old = rtr_blobs.locate(blb->rbl_blob_id)) | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remot_proto.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/SecureRemotePassword/srp.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/srp.cpp:4: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/protocol.cpp: In function ‘bool_t xdr_bytes(RemoteXdr*, void*, ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/protocol.cpp:1198:16: warning: enumeration value ‘XDR_FREE’ not handled in switch [-Wswitch] 1198 | switch (xdrs->x_op) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:504:16: required from here 504 | fmt_desc.grow(rpt); | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:486: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:504:16: required from here 504 | fmt_desc.grow(rpt); | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:486: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../common/classes/BatchCompletionState.h:67:12: required from here 67 | rare.add(StatusPair(reccount, newVector)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Firebird::Pair >’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/../common/classes/GetPlugins.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/../remote/remote.h:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_pair.h:107:16: note: ‘struct Firebird::Pair >’ declared here 107 | struct Pair : public BasePair | ^~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/BlrFromMessage.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/client/BlrFromMessage.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/client/interface.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/BlrFromMessage.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/client/SrpClient.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/client/SrpClient.o In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecurityDatabase/LegacyClient.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyClient.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h: In member function ‘bool rem_port::releasePort()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:1559:28: warning: unused variable ‘locked’ [-Wunused-variable] 1559 | const bool locked = portGuard.tryEnter(); | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp: In member function ‘bool Remote::ResultSet::fetch(Firebird::CheckStatusWrapper*, void*, P_FETCH, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:5030:36: warning: unused variable ‘isAhead’ [-Wunused-variable] 5030 | const bool isAhead = (statement->rsr_fetch_operation == fetch_next); | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp: In member function ‘int Remote::Blob::seekCached(int, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:6932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ULONG’ {aka ‘unsigned int’} [-Wsign-compare] 6932 | if (offset > blob->rbl_info.total_length) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:6940:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ULONG’ {aka ‘unsigned int’} [-Wsign-compare] 6940 | if (offset == blob->rbl_info.total_length) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp: In function ‘void Remote::receive_packet_noqueue(rem_port*, PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_void’ not handled in switch [-Wswitch] 9323 | switch (p->packet.p_operation) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_connect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_exit’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_accept’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_reject’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_disconnect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_response’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_attach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_create’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_detach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_compile’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_start_and_send’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_send’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_receive’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_unwind’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_release’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_commit’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_rollback’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_prepare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_reconnect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_create_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_open_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_get_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_put_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_cancel_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_close_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_info_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_info_request’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_info_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_info_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_batch_segments’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_que_events’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_cancel_events’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_commit_retaining’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_prepare2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_event’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_connect_request’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_aux_connect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_ddl’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_open_blob2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_create_blob2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_get_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_put_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_seek_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_allocate_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_exec_immediate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_fetch_response’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_prepare_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_set_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_info_sql’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_dummy’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_response_piggyback’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_start_and_receive’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_start_send_and_receive’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_exec_immediate2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_execute2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_sql_response’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_transact’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_transact_response’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_drop_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_service_attach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_service_detach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_service_info’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_service_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_rollback_retaining’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_update_account_info’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_authenticate_user’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_partial’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_trusted_auth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_cancel’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_cont_auth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_ping’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_accept_data’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_abort_aux_connection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_crypt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_crypt_key_callback’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_cond_accept’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_batch_exec’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_batch_rls’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_batch_cs’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_batch_set_bpb’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_repl_data’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_repl_req’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_batch_cancel’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_batch_sync’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_info_batch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_fetch_scroll’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_info_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_inline_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9323:32: warning: enumeration value ‘op_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp: In function ‘void Remote::zap_packet(PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:9999:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘PACKET’ {aka ‘struct packet’}; use assignment or value-initialization instead [-Wclass-memaccess] 9999 | memset(packet, 0, sizeof(struct packet)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../remote/remote_def.h:43, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../remote/../remote/protocol.h:787:16: note: ‘PACKET’ {aka ‘struct packet’} declared here 787 | typedef struct packet | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:504:16: required from here 504 | fmt_desc.grow(rpt); | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:486: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/BatchCompletionState.h:67:12: required from here 67 | rare.add(StatusPair(reccount, newVector)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Firebird::Pair >’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/classes/GetPlugins.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_pair.h:107:16: note: ‘struct Firebird::Pair >’ declared here 107 | struct Pair : public BasePair | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = RemoteObject; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:1520:21: required from ‘OBJCT rem_port::setHandle(T*, OBJCT) [with T = Rrq; OBJCT = short unsigned int]’ 1520 | port_objects.grow(id + 1); | ~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/client/interface.cpp:1780:3: required from here 1180 | #define SET_OBJECT(rdb, object, id) rdb->rdb_port->setHandle(object, id) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class RemoteObject’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:796:7: note: ‘class RemoteObject’ declared here 796 | class RemoteObject | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remot_proto.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/SecureRemotePassword/srp.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/client/SrpClient.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/client/SrpClient.cpp:65:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 65 | explicit SrpClientImpl(IPluginConfig* ipc) | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/client/SrpClient.cpp:65:37: note: remove the ‘< >’ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/SecurityDatabase/LegacyClient.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecurityDatabase/LegacyClient.cpp:30: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IClientImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IClientBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::SecurityDatabaseClient; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IAuthImpl > > > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:13431:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IClientBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::SecurityDatabaseClient; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IAuthImpl > > > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/crypt/arc4/Arc4.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/plugins/crypt/arc4/Arc4.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/BigInteger.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/SecureRemotePassword/srp.h:1: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IClientImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IClientBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::SrpClient; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IAuthImpl > > > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:13431:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IClientBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::SrpClient; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IAuthImpl > > > > > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/crypt/arc4/Arc4.cpp:30: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IWireCryptPluginImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IWireCryptPluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Crypt::Arc4; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:14606:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IWireCryptPluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Crypt::Arc4; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/Auth.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/Auth.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:32: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Remote::RProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/BigInteger.o In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Remote::RProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Remote::Loopback; StatusType = Firebird::CheckStatusWrapper; Base = Remote::RProvider]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Remote::Loopback; StatusType = Firebird::CheckStatusWrapper; Base = Remote::RProvider]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp: In member function ‘void Firebird::BigInteger::assign(unsigned int, const unsigned char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp:105:46: warning: ‘mp_err mp_read_unsigned_bin(mp_int*, const unsigned char*, int)’ is deprecated: replaced by mp_from_ubin [-Wdeprecated-declarations] 105 | CHECK_MP(mp_read_unsigned_bin(&t, bytes, count)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp:38:27: note: in definition of macro ‘CHECK_MP’ 38 | #define CHECK_MP(a) check(a, #a) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/BigInteger.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp:34: /usr/include/tommath.h:735:36: note: declared here 735 | MP_DEPRECATED(mp_from_ubin) mp_err mp_read_unsigned_bin(mp_int *a, const unsigned char *b, int c) MP_WUR; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp: In member function ‘void Firebird::BigInteger::getBytes(Firebird::UCharBuffer&) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp:180:44: warning: ‘mp_err mp_to_unsigned_bin(const mp_int*, unsigned char*)’ is deprecated: replaced by mp_to_ubin [-Wdeprecated-declarations] 180 | CHECK_MP(mp_to_unsigned_bin(const_cast(&t), bytes.getBuffer(length()))); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp:38:27: note: in definition of macro ‘CHECK_MP’ 38 | #define CHECK_MP(a) check(a, #a) | ^ /usr/include/tommath.h:736:34: note: declared here 736 | MP_DEPRECATED(mp_to_ubin) mp_err mp_to_unsigned_bin(const mp_int *a, unsigned char *b) MP_WUR; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp: In member function ‘unsigned int Firebird::BigInteger::length() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp:185:46: warning: ‘int mp_unsigned_bin_size(const mp_int*)’ is deprecated: replaced by mp_ubin_size [-Wdeprecated-declarations] 185 | int rc = mp_unsigned_bin_size(const_cast(&t)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tommath.h:734:33: note: declared here 734 | MP_DEPRECATED(mp_ubin_size) int mp_unsigned_bin_size(const mp_int *a) MP_WUR; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp: In member function ‘void Firebird::BigInteger::getText(Firebird::string&, unsigned int) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp:198:36: warning: ‘mp_err mp_toradix(const mp_int*, char*, int)’ is deprecated: replaced by mp_to_radix [-Wdeprecated-declarations] 198 | CHECK_MP(mp_toradix(const_cast(&t), str.begin(), radix)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/BigInteger.cpp:38:27: note: in definition of macro ‘CHECK_MP’ 38 | #define CHECK_MP(a) check(a, #a) | ^ /usr/include/tommath.h:753:35: note: declared here 753 | MP_DEPRECATED(mp_to_radix) mp_err mp_toradix(const mp_int *a, char *str, int radix) MP_WUR; | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/CRC32C.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/CRC32C.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/CharSet.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/CharSet.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/DecFloat.o In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IClientBlockImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IClientBlockBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = ClntAuthBlock; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:13198:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IClientBlockBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = ClntAuthBlock; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp: In member function ‘bool Firebird::Decimal64::isInf() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:487:16: warning: enumeration value ‘DEC_CLASS_SNAN’ not handled in switch [-Wswitch] 487 | switch (decDoubleClass(&dec)) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:487:16: warning: enumeration value ‘DEC_CLASS_QNAN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:487:16: warning: enumeration value ‘DEC_CLASS_NEG_NORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:487:16: warning: enumeration value ‘DEC_CLASS_NEG_SUBNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:487:16: warning: enumeration value ‘DEC_CLASS_NEG_ZERO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:487:16: warning: enumeration value ‘DEC_CLASS_POS_ZERO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:487:16: warning: enumeration value ‘DEC_CLASS_POS_SUBNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:487:16: warning: enumeration value ‘DEC_CLASS_POS_NORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp: In member function ‘bool Firebird::Decimal64::isNan() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:499:16: warning: enumeration value ‘DEC_CLASS_NEG_INF’ not handled in switch [-Wswitch] 499 | switch (decDoubleClass(&dec)) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:499:16: warning: enumeration value ‘DEC_CLASS_NEG_NORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:499:16: warning: enumeration value ‘DEC_CLASS_NEG_SUBNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:499:16: warning: enumeration value ‘DEC_CLASS_NEG_ZERO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:499:16: warning: enumeration value ‘DEC_CLASS_POS_ZERO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:499:16: warning: enumeration value ‘DEC_CLASS_POS_SUBNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:499:16: warning: enumeration value ‘DEC_CLASS_POS_NORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:499:16: warning: enumeration value ‘DEC_CLASS_POS_INF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp: In member function ‘bool Firebird::Decimal128::isInf() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:829:15: warning: enumeration value ‘DEC_CLASS_SNAN’ not handled in switch [-Wswitch] 829 | switch(decQuadClass(&dec)) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:829:15: warning: enumeration value ‘DEC_CLASS_QNAN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:829:15: warning: enumeration value ‘DEC_CLASS_NEG_NORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:829:15: warning: enumeration value ‘DEC_CLASS_NEG_SUBNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:829:15: warning: enumeration value ‘DEC_CLASS_NEG_ZERO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:829:15: warning: enumeration value ‘DEC_CLASS_POS_ZERO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:829:15: warning: enumeration value ‘DEC_CLASS_POS_SUBNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:829:15: warning: enumeration value ‘DEC_CLASS_POS_NORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp: In member function ‘bool Firebird::Decimal128::isNan() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:841:15: warning: enumeration value ‘DEC_CLASS_NEG_INF’ not handled in switch [-Wswitch] 841 | switch(decQuadClass(&dec)) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:841:15: warning: enumeration value ‘DEC_CLASS_NEG_NORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:841:15: warning: enumeration value ‘DEC_CLASS_NEG_SUBNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:841:15: warning: enumeration value ‘DEC_CLASS_NEG_ZERO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:841:15: warning: enumeration value ‘DEC_CLASS_POS_ZERO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:841:15: warning: enumeration value ‘DEC_CLASS_POS_SUBNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:841:15: warning: enumeration value ‘DEC_CLASS_POS_NORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DecFloat.cpp:841:15: warning: enumeration value ‘DEC_CLASS_POS_INF’ not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/DynamicStrings.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/DynamicStrings.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/Int128.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/Int128.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/IntlParametersBlock.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/IntlParametersBlock.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/Int128.cpp: In member function ‘void Firebird::Int128::getTable32(unsigned int*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/Int128.cpp:555:57: warning: right shift count >= width of type [-Wshift-count-overflow] 555 | dwords[i * 2 + 1] = (v.table[i] >> 32) & 0xFFFFFFFF; | ~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/Int128.cpp: In member function ‘void Firebird::Int128::setTable32(const unsigned int*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/Int128.cpp:575:36: warning: left shift count >= width of type [-Wshift-count-overflow] 575 | v.table[i] <<= 32; | ~~~~~~~~~~~^~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/IntlUtil.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/IntlUtil.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/MsgMetadata.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/MsgMetadata.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/IntlUtil.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/MsgUtil.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/MsgUtil.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/MsgMetadata.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/MsgMetadata.h:30: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMetadataBuilderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMetadataBuilderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MetadataBuilder; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10305:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMetadataBuilderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MetadataBuilder; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/ScanDir.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/ScanDir.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/SimilarToRegex.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/SimilarToRegex.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/StatementMetadata.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/StatementMetadata.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/StatusArg.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/StatusArg.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/SimilarToRegex.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/SimilarToRegex.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = re2::StringPiece; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = re2::StringPiece; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/SimilarToRegex.cpp:810:16: required from here 810 | resSps.resize(argsCount); | ~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class re2::StringPiece’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2/re2/re2.h:218, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/SimilarToRegex.h:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2/re2/stringpiece.h:39:7: note: ‘class re2::StringPiece’ declared here 39 | class StringPiece { | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = re2::RE2::Arg; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = re2::RE2::Arg; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/SimilarToRegex.cpp:813:14: required from here 813 | args.resize(argsCount); | ~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class re2::RE2::Arg’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2/re2/re2.h:818:12: note: ‘class re2::RE2::Arg’ declared here 818 | class RE2::Arg { | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/StatementMetadata.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/SimilarToRegex.cpp: In member function ‘void {anonymous}::SimilarToCompiler::parseFactor(int*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/SimilarToRegex.cpp:589:37: warning: ‘parseFlags’ may be used uninitialized [-Wmaybe-uninitialized] 589 | int parseFlags; | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/StatusHolder.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/StatusHolder.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/Task.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/Task.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/TextType.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/TextType.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/ThreadData.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/ThreadData.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/ThreadStart.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/ThreadStart.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/TimeZoneUtil.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/TimeZoneUtil.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/Tokens.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/Tokens.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/ThreadStart.cpp:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/ThreadStart.cpp: In static member function ‘static void Thread::start(void* (*)(void*), void*, int, Thread*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/ThreadStart.cpp:123:24: warning: unused variable ‘pattr’ [-Wunused-variable] 123 | pthread_attr_t pattr; | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/UtilSvc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/UtilSvc.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/call_service.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/call_service.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/cvt.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/db_alias.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/db_alias.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/TimeZoneUtil.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:50: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp: In function ‘void integer_to_text(const dsc*, dsc*, Firebird::Callbacks*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:486:9: note: in expansion of macro ‘MOVE_CLEAR’ 486 | MOVE_CLEAR(&intermediate, sizeof(intermediate)); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:53: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp: In function ‘void datetime_to_text(const dsc*, dsc*, Firebird::Callbacks*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:2410:9: note: in expansion of macro ‘MOVE_CLEAR’ 2410 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp: In function ‘USHORT CVT_make_string(const dsc*, USHORT, const char**, vary*, USHORT, Firebird::DecimalStatus, ErrorFunction)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:2532:9: note: in expansion of macro ‘MOVE_CLEAR’ 2532 | MOVE_CLEAR(&temp_desc, sizeof(temp_desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp: In function ‘SSHORT cvt_decompose(const char*, USHORT, {anonymous}::RetPtr*, ErrorFunction)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:2615:9: note: in expansion of macro ‘MOVE_CLEAR’ 2615 | MOVE_CLEAR(&errd, sizeof(errd)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp: In function ‘USHORT CVT_get_string_ptr_common(const dsc*, USHORT*, UCHAR**, vary*, USHORT, Firebird::DecimalStatus, Firebird::Callbacks*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:2945:9: note: in expansion of macro ‘MOVE_CLEAR’ 2945 | MOVE_CLEAR(&temp_desc, sizeof(temp_desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/dllinst.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/dllinst.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/dsc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/dsc.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/enc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/enc.o In function ‘void datetime_to_text(const dsc*, dsc*, Firebird::Callbacks*)’, inlined from ‘void CVT_move_common(const dsc*, dsc*, Firebird::DecimalStatus, Firebird::Callbacks*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:2055:20: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:2404:42: warning: ‘timezone’ may be used uninitialized [-Wmaybe-uninitialized] 2404 | p += TimeZoneUtil::format(p, sizeof(temp) - (p - temp), timezone, !tzLookup); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp: In function ‘void CVT_move_common(const dsc*, dsc*, Firebird::DecimalStatus, Firebird::Callbacks*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:2310:16: note: ‘timezone’ was declared here 2310 | USHORT timezone; | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/fb_exception.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/fb_exception.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/dsc.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/isc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/isc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp: In function ‘double CVT_get_double(const dsc*, Firebird::DecimalStatus, ErrorFunction, bool*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:1632:23: warning: ‘value’ may be used uninitialized [-Wmaybe-uninitialized] 1632 | value /= CVT_power_of_ten(-dscale); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/cvt.cpp:1396:16: note: ‘value’ was declared here 1396 | double value; | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/isc_file.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/isc_file.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/isc_sync.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/isc_sync.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/pretty.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/pretty.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/sdl.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/sdl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/pretty.cpp: In function ‘int PRETTY_print_cdb(const UCHAR*, FPTR_PRINT_CALLBACK, void*, SSHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/pretty.cpp:159:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 159 | while (parameter = BLR_BYTE) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/pretty.cpp: In function ‘void print_blr_line(void*, SSHORT, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/pretty.cpp:493:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 493 | while (c = *line++) | ~~^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/pretty.cpp: In function ‘int print_dyn_verb(ctl*, SSHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/pretty.cpp:624:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 624 | if (length = print_word(control)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/pretty.cpp:658:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 658 | if (length = print_word(control)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/security.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/security.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/MetaString.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/sdl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/sdl.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/sha.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/sha.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/security.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/security.cpp:27: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/unicode_util.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/utils.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/utils.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/xdr.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/xdr.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/SyncSignals.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/SyncSignals.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp: In static member function ‘static Jrd::UnicodeUtil::Utf16Collation* Jrd::UnicodeUtil::Utf16Collation::create(texttype*, USHORT, Firebird::IntlUtil::SpecificAttributesMap&, const Firebird::string&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp:1618:68: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1618 | obj->maxContractionsPrefixLength = len - 1 > obj->maxContractionsPrefixLength ? | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp: In member function ‘USHORT Jrd::UnicodeUtil::Utf16Collation::stringToKey(USHORT, const USHORT*, USHORT, UCHAR*, USHORT) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp:1868:81: warning: comparison of integer expressions of different signedness: ‘ULONG’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1868 | if (prefixLen == 0 || prefixLen > dstLen - 2 || prefixLen > MAX_USHORT || | ~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp:1898:60: warning: comparison of integer expressions of different signedness: ‘const ULONG’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 1898 | if (keyLen > dstLen - 2 || keyLen > MAX_USHORT) | ~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp:1923:43: warning: comparison of integer expressions of different signedness: ‘ULONG’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1923 | if (keyLen == 0 || keyLen > originalDstLen - 3 || keyLen > MAX_USHORT) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/xdr_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/xdr.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/divorce.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/divorce.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/utils.cpp:52: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/xdr.cpp:94:14: warning: ‘zeros’ defined but not used [-Wunused-variable] 94 | static SCHAR zeros[4] = { 0, 0, 0, 0 }; | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/fbsyslog.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/fbsyslog.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/guid.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/guid.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/isc_ipc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/isc_ipc.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/mod_loader.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/mod_loader.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/isc_ipc.cpp: In function ‘void ISC_signal_cancel(int, FPTR_VOID_PTR, void*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/isc_ipc.cpp:284:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 284 | for (ptr = &signals; sig = *ptr;) { | ~~~~^~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/os_utils.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/os_utils.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/os/posix/path_utils.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/path_utils.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/BaseStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/BaseStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp:1887:99: warning: ‘lastCharKeyLen’ may be used uninitialized [-Wmaybe-uninitialized] 1887 | const UCHAR advance = prefixLen && lastCharKeyLen > 1 && | ~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/unicode_util.cpp:1856:58: note: ‘lastCharKeyLen’ was declared here 1856 | ULONG prefixLen, lastCharKeyLen; | ^~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/BlobWrapper.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/BlobWrapper.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/BlrWriter.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/BlrWriter.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/ClumpletReader.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletWriter.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/ClumpletWriter.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp: In member function ‘bool Firebird::ClumpletReader::isTagged() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘EndOfList’ not handled in switch [-Wswitch] 210 | switch (kind) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘UnTagged’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘SpbStart’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘WideUnTagged’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘SpbSendItems’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘SpbReceiveItems’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘SpbResponse’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘InfoResponse’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value ‘InfoItems’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp: In member function ‘Firebird::ClumpletReader::ClumpletType Firebird::ClumpletReader::getClumpletType(UCHAR) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:283:16: warning: enumeration value ‘EndOfList’ not handled in switch [-Wswitch] 283 | switch (kind) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp: In member function ‘void Firebird::ClumpletReader::moveNext()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘EndOfList’ not handled in switch [-Wswitch] 697 | switch (kind) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘Tagged’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘UnTagged’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘SpbAttach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘SpbStart’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘Tpb’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘WideTagged’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘WideUnTagged’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘SpbSendItems’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘SpbReceiveItems’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘SpbResponse’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ClumpletReader.cpp:697:16: warning: enumeration value ‘InfoItems’ not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/DbImplementation.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/DbImplementation.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/Hash.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/Hash.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/DbImplementation.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/DbImplementation.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ImplementHelper.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/ImplementHelper.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/InternalMessageBuffer.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/InternalMessageBuffer.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/MetaString.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/MetaString.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/Hash.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/Hash.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/MsgPrint.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/MsgPrint.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/InternalMessageBuffer.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/NoThrowTimeStamp.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/NoThrowTimeStamp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/InternalMessageBuffer.cpp: In constructor ‘Firebird::MetadataFromBlr::MetadataFromBlr(unsigned int, const unsigned char*, unsigned int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/InternalMessageBuffer.cpp:79:18: warning: unused variable ‘offset’ [-Wunused-variable] 79 | unsigned offset = 0; | ^~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/ParsedList.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/ParsedList.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SafeArg.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/SafeArg.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/Switches.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/Switches.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/InternalMessageBuffer.cpp:30: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SyncObject.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/SyncObject.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/Synchronize.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/Synchronize.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SyncObject.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SyncObject.cpp: In member function ‘void Firebird::SyncObject::validate(Firebird::SyncType) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SyncObject.cpp:421:16: warning: enumeration value ‘SYNC_INVALID’ not handled in switch [-Wswitch] 421 | switch (lockType) | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/TempFile.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/TempFile.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/TimerImpl.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/TimerImpl.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/TomCryptHash.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/TomCryptHash.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/Synchronize.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/Synchronize.cpp: In static member function ‘static void Firebird::ThreadSync::setThread(Firebird::ThreadSync*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/Synchronize.cpp:259:29: warning: unused variable ‘other’ [-Wunused-variable] 259 | ThreadSync* other = findThread(); | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/UserBlob.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/UserBlob.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/Hash.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/TomCryptHash.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/alloc.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/fb_string.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/fb_string.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/init.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/init.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/locks.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/locks.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp: In constructor ‘Firebird::MemHeader::MemHeader(size_t, Firebird::MemMediumHunk*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp:307:23: warning: unused variable ‘fromTheHunk’ [-Wunused-variable] 307 | off_t fromTheHunk = ((UCHAR*)this) - ((UCHAR*)hunk); // dup !!! | ^~~~~~~~~~~ In file included from /usr/include/dirent.h:247, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/os/os_utils.h:51, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp:66: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp:1564:55: warning: ‘offsetof’ within non-standard-layout type ‘Firebird::MemBlock’ is conditionally-supported [-Winvalid-offsetof] 1564 | static const unsigned MEM_OVERHEAD = offsetof(MemBlock, body); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp:1600:55: warning: ‘offsetof’ within non-standard-layout type ‘Firebird::MemBlock’ is conditionally-supported [-Winvalid-offsetof] 1600 | static const unsigned MEM_OVERHEAD = offsetof(MemBlock, body); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp: In static member function ‘static constexpr Firebird::MemPool* Firebird::MemPool::getPoolFromPointer(void*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp:1747:75: warning: ‘offsetof’ within non-standard-layout type ‘Firebird::MemBlock’ is conditionally-supported [-Winvalid-offsetof] 1747 | auto block = (MemBlock*) ((UCHAR*) ptr - offsetof(MemBlock, body)); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp: In member function ‘Firebird::MemBlock* Firebird::MemPool::allocateInternal(size_t, size_t&, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp:2322:62: warning: ‘offsetof’ within non-standard-layout type ‘Firebird::MemBlock’ is conditionally-supported [-Winvalid-offsetof] 2322 | size_t hunkLength = MemBigHunk::hdrSize() + offsetof(MemBlock, body) + length; | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp: In static member function ‘static void Firebird::MemPool::releaseMemory(void*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp:2379:75: warning: ‘offsetof’ within non-standard-layout type ‘Firebird::MemBlock’ is conditionally-supported [-Winvalid-offsetof] 2379 | MemBlock* block = (MemBlock*) ((UCHAR*) object - offsetof(MemBlock, body)); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/alloc.cpp:168:5: warning: ‘{anonymous}::dev_zero_fd’ defined but not used [-Wunused-variable] 168 | int dev_zero_fd = 0; | ^~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/semaphore.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/semaphore.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/timestamp.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/timestamp.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/classes/zip.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/zip.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/ConfigCache.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/config/ConfigCache.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/config/config.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config_file.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/config/config_file.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/dir_list.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/config/dir_list.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/sha2/sha2.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/sha2/sha2.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp: In destructor ‘virtual Firebird::Config::~Config()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:449:24: warning: enumeration value ‘TYPE_BOOLEAN’ not handled in switch [-Wswitch] 449 | switch (entries[i].data_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:449:24: warning: enumeration value ‘TYPE_INTEGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp: In static member function ‘static Firebird::ConfigValue Firebird::Config::specialProcessing(Firebird::ConfigKey, Firebird::ConfigValue)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TEMP_BLOCK_SIZE’ not handled in switch [-Wswitch] 582 | switch (key) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TEMP_CACHE_LIMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_REMOTE_FILE_OPEN_ABILITY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_GUARDIAN_OPTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_CPU_AFFINITY_MASK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TCP_REMOTE_BUFFER_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TCP_NO_NAGLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_DEFAULT_DB_CACHE_PAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_CONNECTION_TIMEOUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_DUMMY_PACKET_INTERVAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_DEFAULT_TIME_ZONE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_LOCK_MEM_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_LOCK_HASH_SLOTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_LOCK_ACQUIRE_SPINS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_EVENT_MEM_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_DEADLOCK_TIMEOUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_REMOTE_SERVICE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_REMOTE_SERVICE_PORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_IPC_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_MAX_UNFLUSHED_WRITES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_MAX_UNFLUSHED_WRITE_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PROCESS_PRIORITY_LEVEL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_REMOTE_AUX_PORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_REMOTE_BIND_ADDRESS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_EXTERNAL_FILE_ACCESS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_DATABASE_ACCESS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_UDF_ACCESS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TEMP_DIRECTORIES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_BUGCHECK_ABORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TRACE_DSQL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_LEGACY_HASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_GC_POLICY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_REDIRECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_DATABASE_GROWTH_INCREMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_FILESYSTEM_CACHE_THRESHOLD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_RELAXED_ALIAS_CHECKING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TRACE_CONFIG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_MAX_TRACELOG_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_FILESYSTEM_CACHE_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PLUG_PROVIDERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PLUG_AUTH_SERVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PLUG_AUTH_CLIENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PLUG_AUTH_MANAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PLUG_PROFILER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PLUG_TRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_SERVER_MODE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_WIRE_CRYPT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PLUG_WIRE_CRYPT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PLUG_KEY_HOLDER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_REMOTE_ACCESS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_IPV6_V6ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_WIRE_COMPRESSION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_MAX_IDENTIFIER_BYTE_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_MAX_IDENTIFIER_CHAR_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_ENCRYPT_SECURITY_DATABASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_STMT_TIMEOUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_CONN_IDLE_TIMEOUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_ON_DISCONNECT_TRIG_TIMEOUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_CLIENT_BATCH_BUFFER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_OUTPUT_REDIRECTION_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_EXT_CONN_POOL_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_EXT_CONN_POOL_LIFETIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_SNAPSHOTS_MEM_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TIP_CACHE_BLOCK_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_READ_CONSISTENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_DATA_TYPE_COMPATIBILITY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_USE_FILESYSTEM_CACHE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_INLINE_SORT_THRESHOLD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_TEMP_PAGESPACE_DIR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_MAX_STATEMENT_CACHE_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_PARALLEL_WORKERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_MAX_PARALLEL_WORKERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_OPTIMIZE_FOR_FIRST_ROWS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_OUTER_JOIN_CONVERSION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_SUBQUERY_CONVERSION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘KEY_ALLOW_UPDATE_OVERWRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:582:16: warning: enumeration value ‘MAX_CONFIG_KEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp: In static member function ‘static int Firebird::Config::getServerMode()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:631:25: warning: unused variable ‘key’ [-Wunused-variable] 631 | const ConfigKey key = KEY; \ | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:641:9: note: in expansion of macro ‘DECLARE_GLOBAL_KEY’ 641 | DECLARE_GLOBAL_KEY(KEY_SERVER_MODE); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp: In member function ‘const char* Firebird::Config::getPlugins(unsigned int) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:652:25: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 652 | DECLARE_PER_DB_KEY(KEY_PLUG_PROVIDERS); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:658:25: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 658 | DECLARE_PER_DB_KEY(KEY_PLUG_AUTH_SERVER); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:664:25: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 664 | DECLARE_PER_DB_KEY(KEY_PLUG_AUTH_CLIENT); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:670:25: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 670 | DECLARE_PER_DB_KEY(KEY_PLUG_AUTH_MANAGE); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:676:25: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 676 | DECLARE_PER_DB_KEY(KEY_PLUG_PROFILER); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:682:25: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 682 | DECLARE_PER_DB_KEY(KEY_PLUG_TRACE); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:688:25: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 688 | DECLARE_PER_DB_KEY(KEY_PLUG_WIRE_CRYPT); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:694:25: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 694 | DECLARE_PER_DB_KEY(KEY_PLUG_KEY_HOLDER); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp: In member function ‘int Firebird::Config::getWireCrypt(Firebird::WireCryptMode) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:709:9: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 709 | DECLARE_PER_DB_KEY(KEY_WIRE_CRYPT); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp: In member function ‘bool Firebird::Config::getUseFileSystemCache(bool*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:637:23: warning: unused variable ‘config’ [-Wunused-variable] 637 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:733:9: note: in expansion of macro ‘DECLARE_PER_DB_KEY’ 733 | DECLARE_PER_DB_KEY(KEY_USE_FILESYSTEM_CACHE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/config.cpp:25: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/dir_list.cpp: In member function ‘bool Firebird::DirectoryList::isPathInList(const Firebird::PathName&) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/dir_list.cpp:218:16: warning: enumeration value ‘NotInitialized’ not handled in switch [-Wswitch] 218 | switch (mode) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/dir_list.cpp:218:16: warning: enumeration value ‘Restrict’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/common/config/dir_list.cpp:218:16: warning: enumeration value ‘SimpleList’ not handled in switch [-Wswitch] rm -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a ar crus /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/Auth.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/BigInteger.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/CRC32C.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/CharSet.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/DecFloat.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/DynamicStrings.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/Int128.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/IntlParametersBlock.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/IntlUtil.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/MsgMetadata.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/MsgUtil.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/ScanDir.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/SimilarToRegex.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/StatementMetadata.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/StatusArg.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/StatusHolder.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/Task.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/TextType.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/ThreadData.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/ThreadStart.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/TimeZoneUtil.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/Tokens.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/UtilSvc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/call_service.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/cvt.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/db_alias.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/dllinst.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/dsc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/enc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/fb_exception.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/isc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/isc_file.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/isc_sync.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/pretty.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/sdl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/security.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/sha.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/unicode_util.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/utils.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/xdr.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/SyncSignals.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/divorce.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/fbsyslog.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/guid.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/isc_ipc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/mod_loader.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/os_utils.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/os/posix/path_utils.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/BaseStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/BlobWrapper.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/BlrWriter.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/ClumpletReader.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/ClumpletWriter.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/DbImplementation.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/Hash.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/ImplementHelper.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/InternalMessageBuffer.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/MetaString.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/MsgPrint.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/NoThrowTimeStamp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/ParsedList.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/SafeArg.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/Switches.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/SyncObject.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/Synchronize.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/TempFile.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/TimerImpl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/TomCryptHash.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/UserBlob.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/alloc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/fb_string.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/init.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/locks.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/semaphore.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/timestamp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/classes/zip.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/config/ConfigCache.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/config/config.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/config/config_file.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/config/dir_list.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common/sha2/sha2.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,firebird.vers -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,libfbclient.so.2 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib/libfbclient.so.5.0.4 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/DistributedTransaction.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/MasterImplementation.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/PluginManager.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/alt.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/array.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/blob.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/gds.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/keywordsStub.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/perf.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/preparse.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/user_dsql.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/utl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/why.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/config/os/posix/binreloc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/config/os/posix/config_root.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/inet.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/merge.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/parser.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/protocol.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/remote.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/srp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/client/BlrFromMessage.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/client/interface.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/client/SrpClient.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyClient.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/plugins/crypt/arc4/Arc4.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -ltommath (cd /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib && ln -s -f libfbclient.so.5.0.4 libfbclient.so.2 ) (cd /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib && ln -s -f libfbclient.so.2 libfbclient.so ) make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make boot make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/c_cxx.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmd.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cmd.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cme.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cme.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cmp.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmd.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cme.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp: In function ‘void gen_request(const gpre_req*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_for’ not handled in switch [-Wswitch] 2839 | switch (request->req_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_store2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_mass_update’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_procedure’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_set_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value ‘REQ_LASTREQUEST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp: In function ‘void CMP_compile_request(gpre_req*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_for’ not handled in switch [-Wswitch] 171 | switch (request->req_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_store2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_mass_update’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_set_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:171:16: warning: enumeration value ‘REQ_LASTREQUEST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_any’ not handled in switch [-Wswitch] 246 | switch (action->act_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_alter_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_alter_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_alter_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_alter_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_at_end’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_b_declare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_basedon’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_blob_cancel’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_blob_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_blob_create’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_blob_for’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_blob_handle’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_blob_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_commit’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_commit_retain_context’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_create_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_create_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_create_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_create_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_create_shadow’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_create_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_create_view’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_declare_filter’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_declare_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_disconnect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_drop_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_drop_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_drop_filter’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_drop_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_drop_shadow’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_drop_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_drop_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_drop_view’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_describe’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_describe_input’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_execute’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_grant’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_immediate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_prepare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_revoke’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_dyn_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_endblob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_e_declare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_enderror’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_endfor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_endmodify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_endstore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_endstore_special’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_event_wait’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_finish’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_function’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_for’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_get_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_hctef’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_on_error’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_prepare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_procedure’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_put_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_ready’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_release’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_rfinish’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_rollback’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_rollback_retain_context’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_routine’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_segment_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_s_end’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_s_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_s_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_statistics’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_variable’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_clear_handles’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_type_number’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_noop’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_get_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_put_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_sql_dialect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:246:24: warning: enumeration value ‘ACT_LASTACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp: In function ‘void cmp_for(gpre_req*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_any’ not handled in switch [-Wswitch] 903 | switch (action->act_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_alter_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_alter_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_alter_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_alter_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_at_end’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_b_declare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_basedon’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_blob_cancel’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_blob_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_blob_create’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_blob_for’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_blob_handle’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_blob_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_commit’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_commit_retain_context’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_create_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_create_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_create_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_create_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_create_shadow’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_create_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_create_view’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_declare_filter’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_declare_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_disconnect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_drop_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_drop_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_drop_filter’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_drop_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_drop_shadow’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_drop_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_drop_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_drop_view’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_describe’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_describe_input’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_execute’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_grant’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_immediate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_prepare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_revoke’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_dyn_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_endblob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_e_declare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_enderror’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_endfor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_endmodify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_endstore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_endstore_special’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_event_wait’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_finish’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_function’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_for’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_get_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_hctef’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_loop’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_on_error’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_prepare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_procedure’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_put_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_ready’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_release’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_rfinish’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_rollback’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_rollback_retain_context’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_routine’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_segment_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_s_end’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_s_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_s_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_select’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_statistics’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_store2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_variable’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_clear_handles’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_type_number’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_noop’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_get_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_put_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_sql_dialect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:903:24: warning: enumeration value ‘ACT_LASTACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_any’ not handled in switch [-Wswitch] 967 | switch (action->act_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_alter_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_alter_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_alter_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_alter_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_at_end’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_b_declare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_basedon’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_blob_cancel’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_blob_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_blob_create’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_blob_for’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_blob_handle’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_blob_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_commit’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_commit_retain_context’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_create_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_create_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_create_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_create_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_create_shadow’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_create_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_create_view’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_declare_filter’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_declare_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_disconnect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_drop_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_drop_domain’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_drop_filter’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_drop_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_drop_shadow’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_drop_table’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_drop_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_drop_view’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_close’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_describe’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_describe_input’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_execute’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_grant’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_immediate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_prepare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_revoke’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_dyn_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_endblob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_e_declare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_enderror’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_endfor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_endstore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_endstore_special’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_event_wait’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_finish’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_function’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_for’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_get_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_hctef’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_loop’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_modify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_on_error’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_open’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_prepare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_procedure’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_put_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_ready’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_release’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_rfinish’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_rollback’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_rollback_retain_context’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_routine’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_segment_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_s_end’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_s_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_s_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_select’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_statistics’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_store2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_variable’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_clear_handles’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_type_number’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_noop’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_get_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_put_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_sql_dialect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:967:32: warning: enumeration value ‘ACT_LASTACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp: In function ‘void cmp_sdl_fudge(gpre_req*, SLONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1394:16: warning: enumeration value ‘lang_undef’ not handled in switch [-Wswitch] 1394 | switch (gpreGlob.sw_language) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1394:16: warning: enumeration value ‘lang_pascal’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1394:16: warning: enumeration value ‘lang_cobol’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1394:16: warning: enumeration value ‘lang_ada’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1394:16: warning: enumeration value ‘lang_scxx’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1394:16: warning: enumeration value ‘lang_cplusplus’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1394:16: warning: enumeration value ‘lang_cpp’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1394:16: warning: enumeration value ‘lang_internal_cxx’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp: In function ‘gpre_port* make_port(gpre_req*, ref*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/cmp.cpp:1762:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1762 | while (reference = alignments[i]) | ~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/exp.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/gpre.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/hsh.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/hsh.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/int_cxx.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/int_cxx.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp:52: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp: In function ‘gpre_nod* EXP_literal()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_none’ not handled in switch [-Wswitch] 351 | switch (gpreGlob.token_global.tok_keyword) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_start_actions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ACTIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ANY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_AT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BACK_SLASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BASED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BEGIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BUFFERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CACHE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CANCEL_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CLEAR_HANDLES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CLOSE_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COLLATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CONSTRAINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CREATE_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DATABASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DERIVED_FROM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DOMAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DOUBLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ELEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ELSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END_FETCH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END_FOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END_MODIFY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END_STORE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END_STORE_SPECIAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ERASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ESCAPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EVENT_INIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EVENT_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EXEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EXTERNAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EXTRACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FETCH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FINISH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FLOAT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FUNCTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GET_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GET_SLICE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INACTIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_KEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LONG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_L_BRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MODIFY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MONTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NAMESPACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NATIONAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NCHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ON_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OPEN_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PREPARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PROC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PUT_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PUT_SLICE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_READY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RELEASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RELEASE_REQUESTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RETURNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RETURNING_VALUES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_R_BRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SAVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SHORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_START_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_START_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STATISTICS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STORE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SUB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SUBROUTINE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_end_actions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ABNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ACCEPTING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ADD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ALL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ALLOCATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ALTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_AMPERSAND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_AND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ANYCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_AS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ASCENDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ASTERISK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_AUTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_AUTOCOMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_AUTO_RELEASE_TEMP_BLOBID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_AVERAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BASE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BETWEEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BUFFERCOUNT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BUFFERSIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_BY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CARAT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CASCADE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CAST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CHECK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CHECK_POINT_LEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CLOSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COLON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COMMA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COMMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COMPILETIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COMPUTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CONCURRENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CONDITIONAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CONNECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CONSISTENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CONTAINING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CONTINUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COUNT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CREATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CROSS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURRENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURRENT_DATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURRENT_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURRENT_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DBA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DBKEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DECIMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DECLARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DEFAULT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DESCENDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DESCRIBE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DESCRIPTOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DIALECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DISCONNECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DISTINCT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DOT_DOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_DROP’ not handled in switch [-Wswitch] In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/hsh.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_END_EXEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ENTRY_POINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EQ’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EQUALS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EQUIV’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EVENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EXACTCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EXCLUSIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EXECUTE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EXISTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_EXTERN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FILENAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FILTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FIRST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FOREIGN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FORWARD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FOUND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FROM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_FULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GEN_ID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GLOBAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GOTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GRANT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GROUP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp: In function ‘bool file_rename(TEXT*, const TEXT*, const TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp:1400:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1400 | while (*terminator++ = *extension++) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp:1416:47: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1416 | while (*ext++ = *new_extension++) | ~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp:1424:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1424 | while (*terminator++ = *extension++) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GROUP_COMMIT_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_GT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_HANDLES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_HAVING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp: In function ‘bool get_switches(int, TEXT**, const Switches::in_sw_tab_t*, sw_tab_t*, TEXT**)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp:1649:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1649 | q = in_sw_table_iterator->in_sw_name; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_HOUR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_IMMEDIATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_IN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INCLUDE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INDEX’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INDICATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INNER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INPUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INPUT_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INSERT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INTEGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INTERNAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp: In function ‘SLONG pass1(const TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp:2378:52: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2378 | if (action = action->act_rest) | ~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp: In function ‘void pass2(SLONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/gpre.cpp:2487:16: warning: unused variable ‘comment_start_len’ [-Wunused-variable] 2487 | SSHORT comment_start_len = static_cast(strlen(comment_start)); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_INTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_IS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ISOLATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_JOIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LC_CTYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LC_MESSAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LEFT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LEFT_PAREN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LEVEL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LIKE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LOG_BUF_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LOG_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_L_BRCKET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MANUAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MATCHES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MAX’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MAX_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MERGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MINUTE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MINUS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MISSING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_MODULE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NAMES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NATURAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NO_AUTO_UNDO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NO_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NUMERIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NUM_LOG_BUFS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OPAQUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OPEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OPTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OPTIONS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OR1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ORDER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OUTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OUTPUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OUTPUT_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OVERFLOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_OVERRIDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PAGESIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PAGE_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PARAMETER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PASSWORD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PATHNAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PLAN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PLUS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_POINTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PRECISION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PRIMARY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PRIVILEGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PROTECTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_PUBLIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_QUAD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RAW_PARTITIONS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_READ’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_READ_COMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_READ_ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_READ_WRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_REAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_REDUCED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_REFERENCES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_REM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_REQUEST_HANDLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RESERVING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RESOURCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RESTRICT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RETURNS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_REVOKE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RIGHT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RIGHT_PAREN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_ROUTINE_PTR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RUN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_RUNTIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_R_BRCKET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SCALE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SCHEDULE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SCHEMA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SECOND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SELECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SEMI_COLON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SHARED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SHADOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SINGULAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SLASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SMALLINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SNAPSHOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SORTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SQL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SQLERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SQLWARNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STABILITY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STARTING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STARTING_WITH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STARTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STATEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STATIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STOGROUP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_STRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SUB_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SUM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SYNONYM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TABLESPACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TAG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TERMINATING_FIELD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TERMINATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TITLE_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TITLE_TEXT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TOTAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TRANSACTION_HANDLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TRANSPARENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_TRIGGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_UNCOMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_UNION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_UNIQUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_UPPER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_UPPERCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LOWER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_LOWERCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_USERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_USER_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_USING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_VALUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_VALUES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_VAL_PARAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_VARCHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_VARIABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_VARYING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_VERSION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_VIEW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WAKING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WARNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WEEKDAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WHENEVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WITH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WORK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_YEAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_YEARDAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_NULLIF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SKIP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURRENT_CONNECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURRENT_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURRENT_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_CURRENT_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_COALESCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_WHEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_THEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_SUBSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:351:16: warning: enumeration value ‘KW_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp: In function ‘gpre_nod* par_array(gpre_req*, gpre_fld*, bool, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1130:32: warning: enumeration value ‘lang_undef’ not handled in switch [-Wswitch] 1130 | switch (gpreGlob.sw_language) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1130:32: warning: enumeration value ‘lang_pascal’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1130:32: warning: enumeration value ‘lang_fortran’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1130:32: warning: enumeration value ‘lang_ada’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1130:32: warning: enumeration value ‘lang_scxx’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1130:32: warning: enumeration value ‘lang_cplusplus’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1130:32: warning: enumeration value ‘lang_cpp’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1130:32: warning: enumeration value ‘lang_internal_cxx’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp: In function ‘gpre_nod* par_over(gpre_ctx*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/exp.cpp:1388:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1388 | if (field2 = lookup_field(next)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/int_cxx.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/hsh.cpp: In function ‘int hash(const SCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/hsh.cpp:237:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 237 | while (c = *string++) | ~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/hsh.cpp: In function ‘bool scompare2(const SCHAR*, const SCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/hsh.cpp:263:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 263 | while (c1 = *string1++) | ~~~^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/jrdmet.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/jrdmet.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/movg.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/movg.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/msc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/msc.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/obj_cxx.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/jrdmet.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/movg.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/msc.cpp:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/par.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/par.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp: In function ‘void OBJ_CXX_action(const act*, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_any’ not handled in switch [-Wswitch] 185 | switch (action->act_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_at_end’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_b_declare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_basedon’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_blob_cancel’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_blob_handle’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_dyn_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_endblob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_e_declare’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_enderror’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_endfor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_endmodify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_endstore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_endstore_special’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_erase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_event_wait’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_function’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_hctef’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_on_error’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_put_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_routine’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_segment_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_s_end’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_store2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_variable’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_type_number’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_noop’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_sql_dialect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value ‘ACT_LASTACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp: In function ‘void asgn_to(const act*, ref*, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:669:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 669 | if (reference = reference->ref_null) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:698:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 698 | if (reference = reference->ref_null) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp: In function ‘void gen_blob_open(const act*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/obj_cxx.cpp:1060:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1060 | if (args.pat_value1 = blob->blb_bpb_length) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/pat.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/pat.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/par.cpp:49: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/sqe.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/pat.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/sql.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/pat.cpp: In function ‘void PATTERN_expand(USHORT, const TEXT*, PAT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/pat.cpp:186:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 186 | while (c = *pattern++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/pat.cpp:451:32: warning: ‘value’ may be used uninitialized [-Wmaybe-uninitialized] 451 | sprintf(p, "%d", value); | ~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/pat.cpp:182:16: note: ‘value’ was declared here 182 | SSHORT value; // value needs to be signed since some of the | ^~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/boot/gpre_meta_boot.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/boot/gpre_meta_boot.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_nod* SQE_field(gpre_req*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:641:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 641 | if (reference->ref_field = MET_context_field(context, gpreGlob.token_global.tok_string)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘bool SQE_resolve(gpre_nod**, gpre_req*, gpre_rse*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1047:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1047 | if (field = resolve(node, selection->rse_context[i], &context, &slice_action)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_fld* get_ref(gpre_nod*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1446:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1446 | if (field = get_ref(*ptr)) | ~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1454:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1454 | if (field = get_ref(expr->nod_arg[1])) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_nothing’ not handled in switch [-Wswitch] 1418 | switch (expr->nod_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_literal’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_and’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_or’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_not’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_eq’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_equiv’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_ne’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_ge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_le’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_gt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_lt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_containing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_matches’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_unique’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_projection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_sort’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_modify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_erase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_assignment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_min’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_count’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_total’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_average’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_list’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_deferred’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_missing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_between’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_union’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_starting’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_like’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_aggregate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_from’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_null’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_asterisk’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_user_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_sleuth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_via’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_join_inner’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_join_left’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_join_right’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_join_full’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_cast’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_dom_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_ansi_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_gen_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_merge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_plan_expr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_plan_item’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_natural’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_index_order’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_ansi_all’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_current_date’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_current_time’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_current_timestamp’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_nullif’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_current_connection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_current_role’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_current_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_coalesce’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_case’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_case1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_substring’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1418:16: warning: enumeration value ‘nod_LASTNOD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_ctx* par_alias_list(gpre_req*, gpre_nod*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1731:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1731 | if (relation = par_base_table(request, context->ctx_relation, (const TEXT*) *arg)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_nod* par_plan_item(gpre_req*, bool, USHORT*, bool*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_none’ not handled in switch [-Wswitch] 2394 | switch (token.tok_keyword) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_start_actions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ACTIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ANY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_AT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BACK_SLASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BASED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BEGIN’ not handled in switch [-Wswitch] In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BUFFERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CACHE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CANCEL_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CLEAR_HANDLES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CLOSE_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COLLATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CONSTRAINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CREATE_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DATABASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DERIVED_FROM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DOMAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DOUBLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ELEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ELSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END_FETCH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END_FOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END_MODIFY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END_STORE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END_STORE_SPECIAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ERASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ESCAPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EVENT_INIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EVENT_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EXEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EXTERNAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EXTRACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FETCH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FINISH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FLOAT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FUNCTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GET_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GET_SLICE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INACTIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_KEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LONG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_L_BRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MODIFY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MONTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NAMESPACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NATIONAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NCHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ON_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OPEN_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PREPARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PROC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PUT_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PUT_SLICE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_READY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RELEASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RELEASE_REQUESTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RETURNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RETURNING_VALUES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_R_BRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SAVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SHORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_START_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_START_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STATISTICS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STORE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SUB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SUBROUTINE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_end_actions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ABNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ACCEPTING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ADD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ALL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ALLOCATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ALTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_AMPERSAND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_AND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ANYCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_AS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ASCENDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ASTERISK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_AUTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_AUTOCOMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_AUTO_RELEASE_TEMP_BLOBID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_AVERAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BASE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BETWEEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BUFFERCOUNT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BUFFERSIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_BY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CARAT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CASCADE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CAST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CHECK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CHECK_POINT_LEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CLOSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COLON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COMMA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COMMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COMPILETIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COMPUTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CONCURRENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CONDITIONAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CONNECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CONSISTENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CONTAINING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CONTINUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COUNT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CREATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CROSS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURRENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURRENT_DATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURRENT_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURRENT_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DBA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DBKEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DECIMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DECLARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DEFAULT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DESCENDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DESCRIBE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DESCRIPTOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DIALECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DISCONNECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DISTINCT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DOT_DOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_DROP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_END_EXEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ENTRY_POINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EQ’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EQUALS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EQUIV’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EVENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EXACTCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EXCLUSIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EXECUTE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EXISTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_EXTERN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FILENAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FILTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FIRST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FOREIGN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FORWARD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FOUND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FROM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_FULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GEN_ID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GLOBAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GOTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GRANT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GROUP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GROUP_COMMIT_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_GT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_HANDLES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_HAVING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_HOUR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_IMMEDIATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_IN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INCLUDE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INDEX’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INDICATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INNER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INPUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INPUT_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INSERT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INTEGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INTERNAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_INTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_IS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ISOLATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LC_CTYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LC_MESSAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LEFT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LEVEL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LIKE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LOG_BUF_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LOG_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_L_BRCKET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MANUAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MATCHES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MAX’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MAX_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MINUTE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MINUS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MISSING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_MODULE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NAMES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NATURAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NO_AUTO_UNDO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NO_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NUMERIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NUM_LOG_BUFS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OPAQUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OPEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OPTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OPTIONS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OR1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ORDER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OUTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OUTPUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OUTPUT_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OVERFLOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_OVERRIDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PAGESIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PAGE_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PARAMETER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PASSWORD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PATHNAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PLAN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PLUS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_POINTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PRECISION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PRIMARY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PRIVILEGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PROTECTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_PUBLIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_QUAD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RAW_PARTITIONS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_READ’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_READ_COMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_READ_ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_READ_WRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_REAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_REDUCED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_REFERENCES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_REM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_REQUEST_HANDLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RESERVING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RESOURCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RESTRICT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RETURNS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_REVOKE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RIGHT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RIGHT_PAREN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_ROUTINE_PTR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RUN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_RUNTIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_R_BRCKET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SCALE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SCHEDULE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SCHEMA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SECOND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SELECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SEMI_COLON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SHARED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SHADOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SINGULAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SLASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SMALLINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SNAPSHOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SORTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SQL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SQLERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SQLWARNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STABILITY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STARTING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STARTING_WITH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STARTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STATEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STATIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STOGROUP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_STRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SUB_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SUM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SYNONYM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TABLESPACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TAG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TERMINATING_FIELD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TERMINATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TITLE_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TITLE_TEXT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TOTAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TRANSACTION_HANDLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TRANSPARENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_TRIGGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_UNCOMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_UNION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_UNIQUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_UPPER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_UPPERCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LOWER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_LOWERCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_USERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_USER_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_USING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_VALUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_VALUES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_VAL_PARAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_VARCHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_VARIABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_VARYING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_VERSION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_VIEW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WAKING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WARNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WEEKDAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WHENEVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WITH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WORK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_YEAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_YEARDAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_NULLIF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SKIP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURRENT_CONNECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURRENT_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURRENT_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_CURRENT_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_COALESCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_WHEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_THEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_SUBSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2394:16: warning: enumeration value ‘KW_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_rse* par_rse(gpre_req*, gpre_nod*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2878:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2878 | if (context = par_joined_relation(request)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_nod* par_udf(gpre_req*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3209:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 3209 | if (tmp_udf) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_nod* post_fields(gpre_nod*, map*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_nothing’ not handled in switch [-Wswitch] 3506 | switch (node->nod_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_literal’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_and’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_or’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_not’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_eq’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_equiv’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_ne’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_ge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_le’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_gt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_lt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_containing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_matches’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_unique’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_projection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_sort’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_modify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_erase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_assignment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_min’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_count’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_total’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_average’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_deferred’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_missing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_between’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_union’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_starting’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_like’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_aggregate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_from’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_null’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_asterisk’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_user_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_sleuth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_array’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_via’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_join_inner’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_join_left’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_join_right’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_join_full’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_dom_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_ansi_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_merge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_plan_expr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_plan_item’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_natural’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_index_order’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_ansi_all’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_current_date’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_current_time’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_current_timestamp’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_nullif’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_current_connection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_current_role’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_current_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_coalesce’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_case’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_case1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_substring’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3506:16: warning: enumeration value ‘nod_LASTNOD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_fld* resolve(gpre_nod*, gpre_ctx*, gpre_ctx**, act**)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_keyword’ not handled in switch [-Wswitch] 3753 | switch (symbol->sym_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_field’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_variable’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_stream’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_delimited_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_dyn_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_username’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_charset’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_collate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_dummy’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3753:24: warning: enumeration value ‘SYM_LASTSYM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘void set_ref(gpre_nod*, gpre_fld*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_nothing’ not handled in switch [-Wswitch] 3862 | switch (expr->nod_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_field’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_literal’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_and’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_or’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_not’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_eq’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_equiv’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_ne’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_ge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_le’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_gt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_lt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_containing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_matches’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_unique’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_projection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_sort’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_modify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_erase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_assignment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_min’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_count’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_total’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_average’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_list’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_deferred’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_missing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_between’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_union’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_starting’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_like’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_aggregate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_from’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_null’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_asterisk’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_map_ref’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_user_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_sleuth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_array’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_via’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_join_inner’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_join_left’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_join_right’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_join_full’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_dom_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_ansi_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_gen_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_merge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_plan_expr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_plan_item’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_natural’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_index_order’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_ansi_all’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_current_date’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_current_time’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_current_timestamp’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_nullif’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_current_connection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_current_role’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_current_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_coalesce’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_case’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_case1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_substring’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3862:16: warning: enumeration value ‘nod_LASTNOD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘bool validate_references(const gpre_nod*, const gpre_nod*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_nothing’ not handled in switch [-Wswitch] 3961 | switch (fields->nod_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_field’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_literal’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_and’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_or’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_not’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_eq’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_equiv’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_ne’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_ge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_le’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_gt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_lt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_containing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_matches’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_unique’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_plus’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_times’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_divide’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_minus’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_negate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_projection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_sort’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_modify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_erase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_assignment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_min’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_count’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_total’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_average’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_list’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_deferred’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_missing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_between’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_union’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_starting’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_like’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_from’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_null’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_asterisk’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_map_ref’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_user_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_upcase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_sleuth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_array’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_via’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_join_inner’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_join_left’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_join_right’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_join_full’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_concatenate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_cast’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_dom_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_ansi_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_gen_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_merge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_plan_expr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_plan_item’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_natural’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_index_order’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_ansi_all’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_extract’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_current_date’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_current_time’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_current_timestamp’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_lowcase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_nullif’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_current_connection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_current_role’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_current_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_coalesce’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_case’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_case1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_substring’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3961:16: warning: enumeration value ‘nod_LASTNOD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_nothing’ not handled in switch [-Wswitch] 3986 | switch ((*ptr)->nod_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_literal’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_equiv’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_containing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_matches’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_unique’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_projection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_sort’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_modify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_erase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_assignment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_min’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_count’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_total’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_average’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_list’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_deferred’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_between’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_union’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_starting’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_agg_count’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_agg_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_agg_min’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_agg_total’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_agg_average’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_aggregate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_from’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_null’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_asterisk’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_user_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_sleuth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_array’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_via’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_join_inner’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_join_left’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_join_right’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_join_full’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_dom_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_ansi_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_gen_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_merge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_plan_expr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_plan_item’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_natural’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_index_order’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_ansi_all’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_extract’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_current_date’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_current_time’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_current_timestamp’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_nullif’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_current_connection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_current_role’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_current_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_coalesce’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_case’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_case1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_substring’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:3986:24: warning: enumeration value ‘nod_LASTNOD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp: In function ‘act* SQL_action(const TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_none’ not handled in switch [-Wswitch] 207 | switch (keyword) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_start_actions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ACTIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ANY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_AT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BACK_SLASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BASED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BUFFERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CACHE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CANCEL_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CLEAR_HANDLES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CLOSE_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_COLLATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CONSTRAINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CREATE_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DERIVED_FROM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DOMAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DOUBLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ELEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ELSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_END_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_END_FETCH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_END_FOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_END_MODIFY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_END_STORE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_END_STORE_SPECIAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_END_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ERASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ESCAPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EVENT_INIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EVENT_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EXEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EXTERNAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EXTRACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FINISH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FLOAT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FUNCTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GET_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GET_SLICE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INACTIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_KEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LONG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_L_BRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MODIFY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MONTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NAMESPACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NATIONAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NCHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ON_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OPEN_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PROC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PUT_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PUT_SLICE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_READY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RELEASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RETURNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RETURNING_VALUES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_R_BRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SAVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SHORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_START_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_START_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STATISTICS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STORE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SUB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SUBROUTINE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_end_actions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ABNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ACCEPTING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ADD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ALL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ALLOCATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_AMPERSAND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_AND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ANYCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_AS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ASCENDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ASTERISK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_AUTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_AUTOCOMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_AUTO_RELEASE_TEMP_BLOBID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_AVERAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BASE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BETWEEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BUFFERCOUNT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BUFFERSIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_BY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CARAT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CASCADE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CAST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CHECK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CHECK_POINT_LEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_COLON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_COMMA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_COMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_COMPILETIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_COMPUTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CONCURRENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CONDITIONAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CONSISTENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CONTAINING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CONTINUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_COUNT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CROSS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURRENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURRENT_DATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURRENT_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURRENT_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DBA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DBKEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DECIMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DEFAULT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DESCENDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DESCRIPTOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DIALECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DISTINCT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_DOT_DOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_END_EXEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ENTRY_POINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EQ’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EQUALS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EQUIV’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EXACTCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EXCLUSIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EXISTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_EXTERN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FILENAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FILTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FIRST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FOREIGN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FORWARD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FOUND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FROM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_FULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GEN_ID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GLOBAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GOTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GROUP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GROUP_COMMIT_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_GT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_HANDLES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_HAVING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_HOUR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_IMMEDIATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_IN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INDEX’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INDICATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INNER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INPUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INPUT_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INTEGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INTERNAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_INTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_IS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ISOLATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_JOIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LC_CTYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LC_MESSAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LEFT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LEFT_PAREN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LEVEL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LIKE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LOG_BUF_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LOG_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_L_BRCKET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MANUAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MATCHES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MAX’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MAX_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MERGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MINUTE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MINUS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MISSING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_MODULE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NAMES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NATURAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NO_AUTO_UNDO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NO_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NUMERIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NUM_LOG_BUFS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OPAQUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OPTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OPTIONS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OR1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ORDER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OUTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OUTPUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OUTPUT_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OVERFLOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_OVERRIDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PAGESIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PAGE_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PARAMETER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PASSWORD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PATHNAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PLAN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PLUS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_POINTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PRECISION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PRIMARY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PRIVILEGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PROTECTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_PUBLIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_QUAD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RAW_PARTITIONS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_READ’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_READ_COMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_READ_ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_READ_WRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_REAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_REDUCED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_REFERENCES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_REM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_REQUEST_HANDLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RESERVING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RESOURCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RESTRICT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RETURNS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RIGHT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RIGHT_PAREN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_ROUTINE_PTR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RUN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_RUNTIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_R_BRCKET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SCALE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SCHEDULE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SCHEMA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SECOND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SEMI_COLON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SHARED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SHADOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SINGULAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SLASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SMALLINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SNAPSHOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SORTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SQL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SQLERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SQLWARNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STABILITY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STARTING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STARTING_WITH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STARTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STATEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STATIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STOGROUP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_STRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SUB_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SUM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SYNONYM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TABLESPACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TAG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TERMINATING_FIELD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TERMINATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TITLE_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TITLE_TEXT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TOTAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TRANSACTION_HANDLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TRANSPARENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_TRIGGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_UNCOMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_UNION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_UNIQUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_UPPER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_UPPERCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LOWER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_LOWERCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_USERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_USER_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_USING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_VALUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_VALUES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_VAL_PARAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_VARCHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_VARIABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_VARYING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_VERSION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_VIEW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_WAKING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_WARNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_WEEKDAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_WITH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_WORK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_WRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_YEAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_YEARDAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_NULLIF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SKIP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURRENT_CONNECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURRENT_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURRENT_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_CURRENT_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_COALESCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_WHEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_THEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_SUBSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:207:16: warning: enumeration value ‘KW_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp: In function ‘act* act_declare()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_none’ not handled in switch [-Wswitch] 2249 | switch (gpreGlob.token_global.tok_keyword) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_start_actions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ACTIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ANY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_AT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BACK_SLASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BASED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BEGIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BUFFERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CACHE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CANCEL_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CLEAR_HANDLES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CLOSE_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COLLATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CONSTRAINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CREATE_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DATABASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DERIVED_FROM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DOMAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DOUBLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ELEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ELSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END_FETCH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END_FOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END_MODIFY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END_STORE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END_STORE_SPECIAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ERASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ESCAPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EVENT_INIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EVENT_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EXEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EXTRACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FETCH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FINISH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FLOAT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FUNCTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GET_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GET_SLICE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INACTIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_KEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LONG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_L_BRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MODIFY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MONTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NAMESPACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NATIONAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NCHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ON_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OPEN_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PREPARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PROC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PUT_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PUT_SLICE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_READY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RELEASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RELEASE_REQUESTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RETURNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RETURNING_VALUES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_R_BRACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SAVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SHORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_START_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_START_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STATISTICS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STORE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SUB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SUBROUTINE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_end_actions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ABNORMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ACCEPTING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ADD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ALL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ALLOCATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ALTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_AMPERSAND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_AND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ANYCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_AS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ASCENDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ASTERISK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_AUTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_AUTOCOMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_AUTO_RELEASE_TEMP_BLOBID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_AVERAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BASE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BETWEEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BLOB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BUFFERCOUNT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BUFFERSIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_BY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CARAT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CASCADE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CAST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CHECK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CHECK_POINT_LEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CLOSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COLON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COMMA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COMMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COMPILETIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COMPUTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CONCURRENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CONDITIONAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CONNECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CONSISTENCY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CONTAINING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CONTINUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COUNT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CREATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CROSS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURRENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURRENT_DATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURRENT_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURRENT_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DBA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DBKEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DECIMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DECLARE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DEFAULT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DESCENDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DESCRIBE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DESCRIPTOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DIALECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DISCONNECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DISTINCT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DOT_DOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_DROP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_END_EXEC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ENTRY_POINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EQ’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EQUALS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EQUIV’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EVENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EXACTCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EXCLUSIVE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EXECUTE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EXISTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_EXTERN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FILENAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FIRST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FOREIGN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FORWARD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FOUND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FROM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_FULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GEN_ID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GLOBAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GOTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GRANT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GROUP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GROUP_COMMIT_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_GT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_HANDLES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_HAVING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_HOUR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_IMMEDIATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_IN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INCLUDE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INDEX’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INDICATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INNER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INPUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INPUT_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INSERT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INTEGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INTERNAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_INTO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_IS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ISOLATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_JOIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LC_CTYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LC_MESSAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LEFT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LEFT_PAREN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LEVEL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LIKE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LOG_BUF_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LOG_FILE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_L_BRCKET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MANUAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MATCHES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MAX’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MAX_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MERGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MINUTE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MINUS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MISSING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_MODULE_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NAMES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NATURAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NO_AUTO_UNDO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NO_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NUMERIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NUM_LOG_BUFS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OPAQUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OPEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OPTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OPTIONS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OR1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ORDER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OUTER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OUTPUT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OUTPUT_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OVERFLOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_OVERRIDING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PAGE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PAGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PAGESIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PAGE_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PARAMETER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PASSWORD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PATHNAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PLAN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PLUS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_POINTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PRECISION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PRIMARY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PRIVILEGES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PROTECTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_PUBLIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_QUAD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RAW_PARTITIONS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_READ’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_READ_COMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_READ_ONLY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_READ_WRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_REAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_REDUCED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_REFERENCES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_REM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_REQUEST_HANDLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RESERVING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RESOURCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RESTRICT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RETURNS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_REVOKE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RIGHT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RIGHT_PAREN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_ROUTINE_PTR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RUN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_RUNTIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_R_BRCKET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SCALE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SCHEDULE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SCHEMA’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SECOND’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SEGMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SELECT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SEMI_COLON’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SET’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SHARED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SHADOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SINGULAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SIZE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SLASH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SMALLINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SNAPSHOT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SORT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SORTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SQL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SQLERROR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SQLWARNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STABILITY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STARTING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STARTING_WITH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STARTS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STATEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STATIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STOGROUP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STREAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_STRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SUB_TYPE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SUM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SYNONYM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TABLESPACE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TAG’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TERMINATING_FIELD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TERMINATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TITLE_LENGTH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TITLE_TEXT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TOTAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TRANSACTION_HANDLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TRANSPARENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_TRIGGER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_UNCOMMITTED’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_UNION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_UNIQUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_UPPER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_UPPERCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LOWER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_LOWERCASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_USERS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_USER_NAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_USING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_VALUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_VALUES’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_VAL_PARAM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_VARCHAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_VARIABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_VARYING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_VERSION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_VIEW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WAIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WAKING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WARNING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WEEKDAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WHENEVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WITH’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WORK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WRITE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_YEAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_YEARDAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_NULLIF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SKIP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURRENT_CONNECTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURRENT_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURRENT_TRANSACTION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_CURRENT_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_COALESCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_WHEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_THEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_SUBSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:2249:16: warning: enumeration value ‘KW_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp: In function ‘void pair(gpre_nod*, gpre_nod*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_nothing’ not handled in switch [-Wswitch] 5553 | switch (expr->nod_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_and’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_or’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_not’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_eq’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_equiv’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_ne’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_ge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_le’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_gt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_lt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_containing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_matches’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_unique’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_plus’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_times’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_divide’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_minus’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_negate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_projection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_sort’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_store’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_modify’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_erase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_assignment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_min’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_count’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_total’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_average’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_list’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_deferred’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_missing’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_between’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_union’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_starting’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_like’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_agg_count’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_agg_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_agg_min’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_agg_total’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_agg_average’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_aggregate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_from’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_null’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_asterisk’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_user_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_upcase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_sleuth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_event_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_udf’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_array’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_index’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_via’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_join_inner’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_join_left’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_join_right’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_join_full’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_concatenate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_cast’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_dom_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_ansi_any’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_gen_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_merge’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_plan_expr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_plan_item’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_natural’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_index_order’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_ansi_all’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_extract’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_current_date’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_current_time’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_current_timestamp’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_lowcase’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_nullif’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_current_connection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_current_role’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_current_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_coalesce’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_case’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_case1’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_substring’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5553:16: warning: enumeration value ‘nod_LASTNOD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp: In function ‘dyn* par_dynamic_cursor()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sql.cpp:5791:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5791 | if (symbol = MSC_find_symbol(gpreGlob.token_global.tok_symbol, SYM_dyn_cursor)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/boot/gpre_meta_boot.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In function ‘gpre_nod* negate(gpre_nod*)’, inlined from ‘gpre_nod* par_relational(gpre_req*, USHORT*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2821:26, inlined from ‘gpre_nod* par_not(gpre_req*, USHORT*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2242:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:1636:25: warning: ‘node’ may be used uninitialized [-Wmaybe-uninitialized] 1636 | return MSC_unary(nod_not, expr); | ~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp: In function ‘gpre_nod* par_not(gpre_req*, USHORT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/sqe.cpp:2722:19: note: ‘node’ was declared here 2722 | gpre_nod* node; | ^~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/c_cxx.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cmd.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cme.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cmp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/exp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/gpre.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/hsh.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/int_cxx.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/jrdmet.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/movg.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/msc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/obj_cxx.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/par.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/pat.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/sqe.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/sql.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/boot/gpre_meta_boot.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/yvalve/gds.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_boot -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat rm -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current (cd /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin; ln -s gpre_boot gpre_current) make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make engine make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Attachment.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Attachment.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/BlobUtil.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Coercion.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Coercion.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Collation.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Collation.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Coercion.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Coercion.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Collation.cpp:96: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/SystemPackages.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/BlobUtil.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/classes/GetPlugins.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/security.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/scl.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Attachment.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/dsql.h:47, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Coercion.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/SystemPackages.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Coercion.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/cvt_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Coercion.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Attachment.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:61: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Function.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Attachment.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ConfigTable.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ConfigTable.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Attachment.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp: In static member function ‘static Firebird::IExternalResultSet* Jrd::BlobUtilPackage::cancelBlobProcedure(Firebird::ThrowStatusExceptionWrapper*, Firebird::IExternalContext*, const BlobMessage::Type*, void*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp:70:20: warning: unused variable ‘transaction’ [-Wunused-variable] 70 | const auto transaction = tdbb->getTransaction(); | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp: In static member function ‘static void Jrd::BlobUtilPackage::isWritableFunction(Firebird::ThrowStatusExceptionWrapper*, Firebird::IExternalContext*, const BlobMessage::Type*, BooleanMessage::Type*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp:105:20: warning: unused variable ‘transaction’ [-Wunused-variable] 105 | const auto transaction = tdbb->getTransaction(); | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp: In static member function ‘static void Jrd::BlobUtilPackage::seekFunction(Firebird::ThrowStatusExceptionWrapper*, Firebird::IExternalContext*, const SeekInput::Type*, SeekOutput::Type*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp:164:20: warning: unused variable ‘transaction’ [-Wunused-variable] 164 | const auto transaction = tdbb->getTransaction(); | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp: In static member function ‘static void Jrd::BlobUtilPackage::readDataFunction(Firebird::ThrowStatusExceptionWrapper*, Firebird::IExternalContext*, const ReadDataInput::Type*, BinaryMessage::Type*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/BlobUtil.cpp:188:20: warning: unused variable ‘transaction’ [-Wunused-variable] 188 | const auto transaction = tdbb->getTransaction(); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/BlobUtil.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/ini.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/SystemPackages.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/security.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/scl.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/ExtEngineManager.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:67: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ConfigTable.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ConfigTable.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:30: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITimerImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::TimerImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:16066:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::TimerImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In member function ‘void Jrd::UserId::setUserName(const Firebird::MetaString&)’, inlined from ‘void Jrd::UserId::setUserName(const Firebird::MetaString&)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/scl.h:310:7, inlined from ‘Jrd::UserId* Jrd::Attachment::getUserId(const Firebird::MetaString&)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Attachment.cpp:1139:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/scl.h:314:25: warning: ‘*(Jrd::UserId*).Jrd::UserId::usr_flags’ may be used uninitialized [-Wmaybe-uninitialized] 314 | usr_flags |= USR_newrole; | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/CryptoManager.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/CryptoManager.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DataTypeUtil.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/DataTypeUtil.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Database.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Database.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/CryptoManager.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/CryptoManager.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/DataTypeUtil.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DataTypeUtil.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/CryptoManager.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DbCreators.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/DbCreators.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/SysFunction.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DataTypeUtil.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/CryptoManager.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:61: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Database.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Monitoring.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/CryptoManager.cpp:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/DataTypeUtil.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/lck.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Database.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/objects_array.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/CryptoManager.h:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/CryptoManager.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Database.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/ExtEngineManager.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:67: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DbCreators.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:61: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/db_alias.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DbCreators.cpp:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Database.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/DbCreators.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DbCreators.cpp:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DebugInterface.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/DebugInterface.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/lock_proto.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/lck.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/scl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/ExtEngineManager.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:67: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/CryptoManager.h:32: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IDbCryptInfoImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IDbCryptInfoBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::CryptoManager::DbInfo; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:14964:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IDbCryptInfoBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::CryptoManager::DbInfo; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../lock/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../auth/SecureRemotePassword/Message.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DbCreators.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DbCreators.cpp:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/classes/GetPlugins.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/security.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/scl.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DebugInterface.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/DebugInterface.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DebugInterface.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/blb_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/DebugInterface.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/security.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/scl.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/blb_proto.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ExtEngineManager.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Function.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Function.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/GarbageCollector.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/GarbageCollector.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/GlobalRWLock.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/GlobalRWLock.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ExtEngineManager.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/GarbageCollector.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/GarbageCollector.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/GlobalRWLock.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/GlobalRWLock.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/GarbageCollector.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/InitCDSLib.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/InitCDSLib.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/GlobalRWLock.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/InitCDSLib.cpp: In destructor ‘Jrd::InitCDS::~InitCDS()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/InitCDSLib.cpp:64:14: warning: unused variable ‘str’ [-Wunused-variable] 64 | char str[512]; | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp: In member function ‘virtual const Jrd::StmtNode* {anonymous}::ExtProcedureNode::execute(Jrd::thread_db*, Jrd::Request*, Jrd::StmtNode::ExeState*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp:403:32: warning: enumeration value ‘req_return’ not handled in switch [-Wswitch] 403 | switch (request->req_operation) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp:403:32: warning: enumeration value ‘req_receive’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp:403:32: warning: enumeration value ‘req_send’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/GarbageCollector.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ExtEngineManager.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ExtEngineManager.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ExtEngineManager.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ExtEngineManager.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/IntlManager.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/IntlManager.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/KeywordsTable.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/KeywordsTable.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/IntlManager.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/IntlManager.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Mapping.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Mapping.o In file included from /usr/include/c++/14/bits/shared_ptr_atomic.h:33, from /usr/include/c++/14/memory:81, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ExtEngineManager.h:28: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/KeywordsTable.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/KeywordsTable.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Mapping.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/db_alias.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Mapping.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Mapping.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Mapping.cpp:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/MetaName.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/MetaName.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../auth/SecureRemotePassword/Message.h:10, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Mapping.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Mapping.cpp:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Monitoring.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Monitoring.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/MetaName.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/MetaName.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Monitoring.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Monitoring.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/PreparedStatement.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/PreparedStatement.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Monitoring.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Monitoring.cpp: In constructor ‘Jrd::MonitoringSnapshot::MonitoringSnapshot(Jrd::thread_db*, Firebird::MemoryPool&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Monitoring.cpp:452:20: warning: unused variable ‘selfAttId’ [-Wunused-variable] 452 | const auto selfAttId = attachment->att_attachment_id; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Monitoring.cpp: In static member function ‘static void Jrd::Monitoring::putAttachment(Jrd::SnapshotData::DumpRecord&, const Jrd::Attachment*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Monitoring.cpp:1052:20: warning: unused variable ‘dbb’ [-Wunused-variable] 1052 | const auto dbb = attachment->att_database; | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ProfilerManager.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ProfilerManager.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/PreparedStatement.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/PreparedStatement.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/PreparedStatement.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ProfilerManager.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ProfilerManager.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/classes/objects_array.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/PreparedStatement.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/PreparedStatement.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ProfilerManager.cpp: In static member function ‘static Firebird::IExternalResultSet* Jrd::ProfilerPackage::cancelSessionProcedure(Firebird::ThrowStatusExceptionWrapper*, Firebird::IExternalContext*, const AttachmentIdMessage::Type*, void*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ProfilerManager.cpp:249:20: warning: unused variable ‘transaction’ [-Wunused-variable] 249 | const auto transaction = tdbb->getTransaction(); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/PerformanceStopWatch.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ProfilerManager.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/QualifiedName.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RandomGenerator.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/RandomGenerator.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordBuffer.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/RecordBuffer.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordSourceNodes.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/RecordSourceNodes.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordBuffer.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Relation.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Relation.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordSourceNodes.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordSourceNodes.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordBuffer.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/utils_proto.h:35: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITimerImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/../../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::TimerImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/./IdlFbInterfaces.h:16066:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::TimerImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Relation.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordSourceNodes.cpp: In member function ‘virtual Jrd::RecordSource* Jrd::WindowSourceNode::compile(Jrd::thread_db*, Jrd::Optimizer*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordSourceNodes.cpp:2560:20: warning: unused variable ‘csb’ [-Wunused-variable] 2560 | const auto csb = opt->getCompilerScratch(); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/RecordSourceNodes.h:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/align.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/QualifiedName.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/RecordSourceNodes.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ResultSet.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ResultSet.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/RecordSourceNodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/recsrc/RecordSource.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordSourceNodes.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RecordSourceNodes.cpp:583:14: required from here 583 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Relation.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Relation.cpp: In member function ‘void Jrd::jrd_rel::retainPages(Jrd::thread_db*, TraNumber, TraNumber)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Relation.cpp:217:16: warning: unused variable ‘inst_id’ [-Wunused-variable] 217 | SINT64 inst_id = oldNumber; | ^~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ResultSet.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ResultSet.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ResultSet.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ResultSet.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ProfilerManager.cpp: In member function ‘void Jrd::ProfilerListener::watcherThread()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ProfilerManager.cpp:1068:48: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 1068 | strncpy((char*) header->buffer, errorMsg.c_str(), sizeof(header->buffer)); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/classes/objects_array.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/PreparedStatement.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ResultSet.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ResultSet.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Routine.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Routine.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RuntimeStatistics.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/RuntimeStatistics.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Routine.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Routine.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Savepoint.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Savepoint.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Statement.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Routine.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/RuntimeStatistics.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Routine.h:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/MsgMetadata.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Routine.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Routine.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Savepoint.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:34: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Statement.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/SysFunction.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SystemPackages.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/SystemPackages.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Statement.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/TimeZoneUtil.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/SystemPackages.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SystemPackages.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/SysFunction.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/SystemPackages.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/TempSpace.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/TempSpace.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp: In static member function ‘static Jrd::Statement* Jrd::Statement::makeStatement(Jrd::thread_db*, Jrd::CompilerScratch*, bool, std::function)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:239:20: warning: unused variable ‘dbb’ [-Wunused-variable] 239 | const auto dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp: In member function ‘Jrd::Request* Jrd::Statement::getRequest(Jrd::thread_db*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:458:25: warning: unused variable ‘dbb’ [-Wunused-variable] 458 | Database* const dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/TimeZone.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SystemPackages.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:175:17: required from here 175 | rpbsSetup.grow(csb->csb_n_stream); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:837:16: required from here 837 | list.insert(i, *item); | ~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::AccessItem; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:923:27: required from ‘void makeSubRoutines(Jrd::thread_db*, Jrd::Statement*, Jrd::CompilerScratch*, T&) [with T = Firebird::GenericMap >, Firebird::DefaultComparator >]’ 923 | csb->csb_access.insert(i, access); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:82:18: required from here 82 | makeSubRoutines(tdbb, this, csb, csb->subProcedures); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::AccessItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:217:8: note: ‘struct Jrd::AccessItem’ declared here 217 | struct AccessItem | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::AccessItem; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::AccessItem; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::AccessItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:217:8: note: ‘struct Jrd::AccessItem’ declared here 217 | struct AccessItem | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:316:3: required from ‘void Firebird::Array::grow(size_type) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 316 | ensureCapacity(newCount); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:175:17: required from here 175 | rpbsSetup.grow(csb->csb_n_stream); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:223:3: required from ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 223 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:837:16: required from here 837 | list.insert(i, *item); | ~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::AccessItem; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:223:3: required from ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::AccessItem; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 223 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:923:27: required from ‘void makeSubRoutines(Jrd::thread_db*, Jrd::Statement*, Jrd::CompilerScratch*, T&) [with T = Firebird::GenericMap >, Firebird::DefaultComparator >]’ 923 | csb->csb_access.insert(i, access); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/Statement.cpp:82:18: required from here 82 | makeSubRoutines(tdbb, this, csb, csb->subProcedures); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::AccessItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:217:8: note: ‘struct Jrd::AccessItem’ declared here 217 | struct AccessItem | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlBlobAppend(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:2455:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2455 | if (arg0_null || argDsc->isBlob() && !copyBlob) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlEncryptDecrypt(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:3340:24: warning: unused variable ‘CTR_32’ [-Wunused-variable] 3340 | const unsigned CTR_32 = 1; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:3341:24: warning: unused variable ‘CTR_64’ [-Wunused-variable] 3341 | const unsigned CTR_64 = 2; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlEncodeDecodeHex(Jrd::thread_db*, bool, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:3745:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const ULONG’ {aka ‘const unsigned int’} [-Wsign-compare] 3745 | if (encodeFlag && arg->getStringLength() * 2 > MAX_VARY_COLUMN_SIZE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/status.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/SystemPackages.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/ini.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/SystemPackages.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/SysFunction.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/TempSpace.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/TempSpace.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/File.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/TempFile.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/TempSpace.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/TimeZone.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/TimeZone.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/TimeZone.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/TimeZone.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/UserManagement.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/UserManagement.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/VirtualTable.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/VirtualTable.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/UserManagement.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/UserManagement.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlEncodeDecodeHex(Jrd::thread_db*, bool, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:3715:47: warning: ‘last’ may be used uninitialized [-Wmaybe-uninitialized] 3715 | out.add((last << 4) + binChar(c, pos)); | ~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:3679:15: note: ‘last’ was declared here 3679 | UCHAR last; | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:3706:31: warning: ‘ptr’ may be used uninitialized [-Wmaybe-uninitialized] 3706 | UCHAR c = *ptr++; | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:3676:22: note: ‘ptr’ was declared here 3676 | const UCHAR* ptr; | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/UserManagement.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Monitoring.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/VirtualTable.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/VirtualTable.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/UserManagement.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:35: In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4703:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4698:73: note: unnamed temporary defined here 4698 | const MetaString& user = attachment->getUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘bool Firebird::MetaString::isEmpty() const’, inlined from ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4700:20: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:81:39: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 81 | bool isEmpty() const { return count == 0; } | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4698:73: note: unnamed temporary defined here 4698 | const MetaString& user = attachment->getUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4712:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4707:72: note: unnamed temporary defined here 4707 | const MetaString& role = attachment->getSqlRole(); | ~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘bool Firebird::MetaString::isEmpty() const’, inlined from ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4709:20: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:81:39: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 81 | bool isEmpty() const { return count == 0; } | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4707:72: note: unnamed temporary defined here 4707 | const MetaString& role = attachment->getSqlRole(); | ~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4771:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4766:82: note: unnamed temporary defined here 4766 | const MetaString& user = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘bool Firebird::MetaString::isEmpty() const’, inlined from ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4768:20: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:81:39: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 81 | bool isEmpty() const { return count == 0; } | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp: In function ‘dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/SysFunction.cpp:4766:82: note: unnamed temporary defined here 4766 | const MetaString& user = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/VirtualTable.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/VirtualTable.cpp: In static member function ‘static void Jrd::VirtualTable::erase(Jrd::thread_db*, Jrd::record_param*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/VirtualTable.cpp:53:19: warning: unused variable ‘dbb’ [-Wunused-variable] 53 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/WorkerAttachment.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/WorkerAttachment.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/VirtualTable.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/GetPlugins.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/security.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/scl.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/WorkerAttachment.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/WorkerAttachment.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/blb.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/blb.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/blob_filter.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/blob_filter.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/WorkerAttachment.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/WorkerAttachment.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/blb.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/WorkerAttachment.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/scl.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btn.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/btn.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/stdio.h:34, from /usr/include/c++/14/cstdio:42, from /usr/include/c++/14/ext/string_conversions.h:45, from /usr/include/c++/14/bits/basic_string.h:4152, from /usr/include/c++/14/string:54, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/streambuf:43, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/blob_filter.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/blob_filter.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/blb.cpp:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/WorkerAttachment.h:32: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btn.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btn.cpp: In static member function ‘static SLONG Jrd::IndexNode::findPageInDuplicates(const Ods::btree_page*, UCHAR*, SLONG, RecordNumber)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btn.cpp:104:32: warning: ‘node.Jrd::IndexNode::pageNumber’ may be used uninitialized [-Wmaybe-uninitialized] 104 | previousNumber = node.pageNumber; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btn.cpp:84:19: note: ‘node.Jrd::IndexNode::pageNumber’ was declared here 84 | IndexNode node, previousNode; | ^~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/blob_filter.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/btr.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/blob_filter.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/builtin.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/builtin.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/TimeZoneUtil.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/cch.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/cmp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp: In function ‘void BTR_complement_key(Jrd::temporary_key*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:862:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 862 | } while (key = key->key_next.get()); | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp: In function ‘void compress(Jrd::thread_db*, const dsc*, SSHORT, Jrd::temporary_key*, USHORT, bool, USHORT, bool*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:2818:25: warning: unused variable ‘dbb’ [-Wunused-variable] 2818 | const Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp: In function ‘{anonymous}::contents delete_node(Jrd::thread_db*, Jrd::WIN*, UCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:3483:22: warning: unused variable ‘tempEnd’ [-Wunused-variable] 3483 | UCHAR* const tempEnd = tempBuf.end(); | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp: In function ‘void generate_jump_nodes(Jrd::thread_db*, Ods::btree_page*, {anonymous}::JumpNodeList*, USHORT, USHORT*, USHORT*, USHORT*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:5674:28: warning: unused variable ‘excludePointer’ [-Wunused-variable] 5674 | const UCHAR* const excludePointer = (UCHAR*) page + excludeOffset; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = {anonymous}::FastLoadLevel; Storage = Firebird::InlineStorage<{anonymous}::FastLoadLevel, 4, {anonymous}::FastLoadLevel>; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = {anonymous}::FastLoadLevel; Storage = Firebird::InlineStorage<{anonymous}::FastLoadLevel, 4, {anonymous}::FastLoadLevel>; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:3819:16: required from here 3819 | levels.resize(1); | ~~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct {anonymous}::FastLoadLevel’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:173:16: note: ‘struct {anonymous}::FastLoadLevel’ declared here 173 | struct FastLoadLevel | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = {anonymous}::FastLoadLevel; Storage = Firebird::InlineStorage<{anonymous}::FastLoadLevel, 4, {anonymous}::FastLoadLevel>; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:316:3: required from ‘void Firebird::Array::grow(size_type) [with T = {anonymous}::FastLoadLevel; Storage = Firebird::InlineStorage<{anonymous}::FastLoadLevel, 4, {anonymous}::FastLoadLevel>; size_type = unsigned int]’ 316 | ensureCapacity(newCount); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = {anonymous}::FastLoadLevel; Storage = Firebird::InlineStorage<{anonymous}::FastLoadLevel, 4, {anonymous}::FastLoadLevel>; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:3819:16: required from here 3819 | levels.resize(1); | ~~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct {anonymous}::FastLoadLevel’ with no trivial copy-assignment [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:173:16: note: ‘struct {anonymous}::FastLoadLevel’ declared here 173 | struct FastLoadLevel | ^~~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/cvt.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp: In function ‘void compress(Jrd::thread_db*, const dsc*, SSHORT, Jrd::temporary_key*, USHORT, bool, USHORT, bool*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:2892:83: warning: ‘multiKeyLength’ may be used uninitialized [-Wmaybe-uninitialized] 2892 | if (key_type == INTL_KEY_MULTI_STARTING && multiKeyLength != 0) | ~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:2821:16: note: ‘multiKeyLength’ was declared here 2821 | size_t multiKeyLength; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘Ods::pag* CCH_fetch(Jrd::thread_db*, Jrd::WIN*, int, SCHAR, int, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:805:16: warning: enumeration value ‘lsLockedHavePage’ not handled in switch [-Wswitch] 805 | switch (lockState) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:805:16: warning: enumeration value ‘lsError’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘void purgePrecedence(Jrd::BufferControl*, Jrd::BufferDesc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:2661:58: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::Precedence’ is conditionally-supported [-Winvalid-offsetof] 2661 | Precedence* precedence = BLOCK(que_prec, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:2661:42: note: in expansion of macro ‘BLOCK’ 2661 | Precedence* precedence = BLOCK(que_prec, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘void flushDirty(Jrd::thread_db*, SLONG, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:2689:59: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::BufferDesc’ is conditionally-supported [-Winvalid-offsetof] 2689 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_dirty); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:2689:43: note: in expansion of macro ‘BLOCK’ 2689 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_dirty); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘void flushAll(Jrd::thread_db*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:2724:20: warning: unused variable ‘write_thru’ [-Wunused-variable] 2724 | const bool write_thru = release_flag; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘void clear_precedence(Jrd::thread_db*, Jrd::BufferDesc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3353:58: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::Precedence’ is conditionally-supported [-Winvalid-offsetof] 3353 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3353:42: note: in expansion of macro ‘BLOCK’ 3353 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘void down_grade(Jrd::thread_db*, Jrd::BufferDesc*, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3456:66: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::Precedence’ is conditionally-supported [-Winvalid-offsetof] 3456 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3456:50: note: in expansion of macro ‘BLOCK’ 3456 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3542:66: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::Precedence’ is conditionally-supported [-Winvalid-offsetof] 3542 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3542:50: note: in expansion of macro ‘BLOCK’ 3542 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘Jrd::BufferDesc* get_dirty_buffer(Jrd::thread_db*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3632:51: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::BufferDesc’ is conditionally-supported [-Winvalid-offsetof] 3632 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_in_use); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3632:35: note: in expansion of macro ‘BLOCK’ 3632 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_in_use); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘Jrd::BufferDesc* get_oldest_buffer(Jrd::thread_db*, Jrd::BufferControl*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3700:54: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::BufferDesc’ is conditionally-supported [-Winvalid-offsetof] 3700 | BufferDesc* oldest = BLOCK(que_inst, BufferDesc, bdb_in_use); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3700:38: note: in expansion of macro ‘BLOCK’ 3700 | BufferDesc* oldest = BLOCK(que_inst, BufferDesc, bdb_in_use); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3764:62: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::Precedence’ is conditionally-supported [-Winvalid-offsetof] 3764 | Precedence* precedence = BLOCK(que2, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3764:50: note: in expansion of macro ‘BLOCK’ 3764 | Precedence* precedence = BLOCK(que2, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘Jrd::BufferDesc* get_buffer(Jrd::thread_db*, Jrd::PageNumber, Firebird::SyncType, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3883:63: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::BufferDesc’ is conditionally-supported [-Winvalid-offsetof] 3883 | bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:3883:47: note: in expansion of macro ‘BLOCK’ 3883 | bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘int get_related(Jrd::BufferDesc*, Jrd::PagesArray&, int, ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4040:64: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::Precedence’ is conditionally-supported [-Winvalid-offsetof] 4040 | const Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4040:48: note: in expansion of macro ‘BLOCK’ 4040 | const Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4033:24: warning: unused variable ‘bcb’ [-Wunused-variable] 4033 | BufferControl* bcb = bdb->bdb_bcb; | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘LockState lock_buffer(Jrd::thread_db*, Jrd::BufferDesc*, SSHORT, SCHAR)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4096:30: warning: unused variable ‘bcb’ [-Wunused-variable] 4096 | BufferControl* const bcb = bdb->bdb_bcb; | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘ULONG memory_init(Jrd::thread_db*, Jrd::BufferControl*, ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4332:43: warning: unused variable ‘bdb’ [-Wunused-variable] 4332 | const BufferDesc* bdb = blk->m_bdbs; | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘SSHORT related(Jrd::BufferDesc*, const Jrd::BufferDesc*, SSHORT, ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4607:64: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::Precedence’ is conditionally-supported [-Winvalid-offsetof] 4607 | const Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4607:48: note: in expansion of macro ‘BLOCK’ 4607 | const Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In function ‘int write_buffer(Jrd::thread_db*, Jrd::BufferDesc*, Jrd::PageNumber, bool, Jrd::FbStatusVector*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4790:66: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::Precedence’ is conditionally-supported [-Winvalid-offsetof] 4790 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:4790:50: note: in expansion of macro ‘BLOCK’ 4790 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp: In member function ‘Jrd::BufferDesc* Jrd::BCBHashTable::emplace(Jrd::BufferDesc*, const Jrd::PageNumber&, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:5464:36: warning: unused variable ‘ok’ [-Wunused-variable] 5464 | const bool ok = oldList.erase(oldPage); | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:5434:14: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 5434 | auto ret = list.update(page, bdb, [&bdb2](bool bNew, BdbList::value_type& val) | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp:46: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp: In function ‘Jrd::IndexLock* CMP_get_index_lock(Jrd::thread_db*, Jrd::jrd_rel*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp:293:19: warning: unused variable ‘dbb’ [-Wunused-variable] 293 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::AccessItem; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp:361:25: required from here 361 | csb->csb_access.insert(i, access); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::AccessItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:217:8: note: ‘struct Jrd::AccessItem’ declared here 217 | struct AccessItem | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp:503:27: required from here 503 | csb->csb_external.insert(idx, temp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::CompilerScratch::csb_repeat; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::CompilerScratch::csb_repeat; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp:239:19: required from here 239 | csb->csb_rpt.add(empty_item); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Jrd::CompilerScratch::csb_repeat’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:607:16: note: ‘struct Jrd::CompilerScratch::csb_repeat’ declared here 607 | struct csb_repeat | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::AccessItem; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:223:3: required from ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::AccessItem; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 223 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp:361:25: required from here 361 | csb->csb_access.insert(i, access); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::AccessItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:217:8: note: ‘struct Jrd::AccessItem’ declared here 217 | struct AccessItem | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:223:3: required from ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 223 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cmp.cpp:503:27: required from here 503 | csb->csb_external.insert(idx, temp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp: In function ‘void BTR_selectivity(Jrd::thread_db*, Jrd::jrd_rel*, USHORT, Jrd::SelectivityList&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:2478:52: warning: ‘node.Jrd::IndexNode::data’ may be used uninitialized [-Wmaybe-uninitialized] 2478 | const UCHAR* const p2_end = p2 + node.length; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/btr.cpp:2454:19: note: ‘node.Jrd::IndexNode::data’ was declared here 2454 | IndexNode node; | ^~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp: In function ‘double CVT_date_to_double(const dsc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:134:25: note: in expansion of macro ‘MOVE_CLEAR’ 134 | MOVE_CLEAR(&temp_desc, sizeof(temp_desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp: In function ‘UCHAR CVT_get_numeric(const UCHAR*, USHORT, SSHORT*, void*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:205:9: note: in expansion of macro ‘MOVE_CLEAR’ 205 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp: In function ‘ISC_DATE CVT_get_sql_date(const dsc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:349:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 349 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp: In function ‘ISC_TIME CVT_get_sql_time(const dsc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:374:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 374 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp: In function ‘ISC_TIME_TZ CVT_get_sql_time_tz(const dsc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:399:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 399 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp: In function ‘ISC_TIMESTAMP CVT_get_timestamp(const dsc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:424:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 424 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp: In function ‘ISC_TIMESTAMP_TZ CVT_get_timestamp_tz(const dsc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt.cpp:449:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 449 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In member function ‘T& Firebird::Array::getElement(size_type) [with T = Jrd::BufferDesc*; Storage = Firebird::InlineStorage]’, inlined from ‘T& Firebird::Array::operator[](size_type) [with T = Jrd::BufferDesc*; Storage = Firebird::InlineStorage]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:184:22, inlined from ‘bool Jrd::thread_db::clearBdb(Jrd::BufferDesc*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:708:16, inlined from ‘void Jrd::BufferDesc::release(Jrd::thread_db*, bool)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:5249:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:152:28: warning: ‘pos’ may be used uninitialized [-Wmaybe-uninitialized] 152 | return data[index]; | ~~~~^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h: In member function ‘void Jrd::BufferDesc::release(Jrd::thread_db*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:704:27: note: ‘pos’ was declared here 704 | FB_SIZE_T pos; | ^~~ In member function ‘T& Firebird::Array::getElement(size_type) [with T = Jrd::BufferDesc*; Storage = Firebird::InlineStorage]’, inlined from ‘T& Firebird::Array::operator[](size_type) [with T = Jrd::BufferDesc*; Storage = Firebird::InlineStorage]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:184:22, inlined from ‘bool Jrd::thread_db::clearBdb(Jrd::BufferDesc*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:708:16, inlined from ‘void Jrd::BufferDesc::unLockIO(Jrd::thread_db*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cch.cpp:5289:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:152:28: warning: ‘pos’ may be used uninitialized [-Wmaybe-uninitialized] 152 | return data[index]; | ~~~~^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h: In member function ‘void Jrd::BufferDesc::unLockIO(Jrd::thread_db*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:704:27: note: ‘pos’ was declared here 704 | FB_SIZE_T pos; | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/cvt2.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/dfw.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/dpm.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/dyn_util.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dyn_util.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/err.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/err.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/event.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/event.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/blb_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/err.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp: In function ‘int CVT2_compare(const dsc*, const dsc*, Firebird::DecimalStatus)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:496:25: note: in expansion of macro ‘MOVE_CLEAR’ 496 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:508:25: note: in expansion of macro ‘MOVE_CLEAR’ 508 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:521:25: note: in expansion of macro ‘MOVE_CLEAR’ 521 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:533:25: note: in expansion of macro ‘MOVE_CLEAR’ 533 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘DSC’ {aka ‘struct dsc’}; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:545:25: note: in expansion of macro ‘MOVE_CLEAR’ 545 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘DSC’ {aka ‘struct dsc’} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp: In function ‘USHORT CVT2_make_string2(const dsc*, USHORT, UCHAR**, Jrd::MoveBuffer&, Firebird::DecimalStatus)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:1012:9: note: in expansion of macro ‘MOVE_CLEAR’ 1012 | MOVE_CLEAR(&temp_desc, sizeof(temp_desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/cch.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/event.cpp:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/event.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/evl.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/evl.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/blb_proto.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:61: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/event.cpp: In member function ‘void Jrd::EventManager::init_shared_file()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/event.cpp:132:28: warning: unused variable ‘tmp’ [-Wunused-variable] 132 | SharedMemory* tmp = FB_NEW_POOL(*getDefaultMemoryPool()) | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/event.cpp: In member function ‘SLONG Jrd::EventManager::queEvents(SLONG, USHORT, const UCHAR*, Firebird::IEventCallback*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/event.cpp:270:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 270 | if (interest = historical_interest(session, event_offset)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp: In function ‘int CVT2_blob_compare(const dsc*, const dsc*, Firebird::DecimalStatus)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:856:56: warning: ‘l2’ may be used uninitialized [-Wmaybe-uninitialized] 856 | ret_val = obj1->compare(l1, buffer1.begin(), l2, buffer2.begin()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:748:19: note: ‘l2’ was declared here 748 | SLONG l1, l2; | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:856:56: warning: ‘l1’ may be used uninitialized [-Wmaybe-uninitialized] 856 | ret_val = obj1->compare(l1, buffer1.begin(), l2, buffer2.begin()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/cvt2.cpp:748:15: note: ‘l1’ was declared here 748 | SLONG l1, l2; | ^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/event.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/err.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/evl.cpp:66: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/exe.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/exe.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ext.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ext.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/filters.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/filters.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/VaryStr.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/exe.cpp:59: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/evl.cpp:71: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/exe.cpp:61: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ext.cpp:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/filters.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/exe.cpp:62: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/filters.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ext.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/filters.cpp: In function ‘ISC_STATUS filter_acl(USHORT, Jrd::BlobControl*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/filters.cpp:191:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 191 | while (c = *p++) | ~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/filters.cpp: In function ‘ISC_STATUS string_filter(USHORT, Jrd::BlobControl*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/filters.cpp:1316:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1316 | while (string = (filter_tmp*) control->ctl_data[0]) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/flu.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/flu.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/flu.cpp:50: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/flu.cpp:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/fun.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/grant.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/grant.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/idx.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/idx.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/inf.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/exe.cpp: In function ‘void EXE_assignment(Jrd::thread_db*, const Jrd::ValueExprNode*, dsc*, bool, const Jrd::ValueExprNode*, const Jrd::ValueExprNode*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/exe.cpp:471:25: warning: ‘minlen’ may be used uninitialized [-Wmaybe-uninitialized] 471 | if (to_desc->dsc_length <= minlen) | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/exe.cpp:456:32: note: ‘minlen’ was declared here 456 | USHORT minlen; | ^~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/idx.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ini.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/intl.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl_builtin.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/intl_builtin.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/idx.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl.cpp:96: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/idx.cpp: In member function ‘virtual bool Jrd::IndexCreateTask::handler(Firebird::Task::WorkItem&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/idx.cpp:572:14: warning: unused variable ‘key_is_null’ [-Wunused-variable] 572 | bool key_is_null = false; | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/idx.cpp: In function ‘void IDX_create_index(Jrd::thread_db*, Jrd::jrd_rel*, Jrd::index_desc*, const TEXT*, USHORT*, Jrd::jrd_tra*, Jrd::SelectivityList&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/idx.cpp:846:26: warning: unused variable ‘attachment’ [-Wunused-variable] 846 | Jrd::Attachment* attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/idx.cpp:864:20: warning: unused variable ‘isPrimary’ [-Wunused-variable] 864 | const bool isPrimary = (idx->idx_flags & idx_primary); | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl_builtin.cpp:1: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl.cpp:97: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl_builtin.cpp:11: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:35: In member function ‘FB_SIZE_T Firebird::MetaString::length() const’, inlined from ‘void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:946:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:78:43: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 78 | FB_SIZE_T length() const { return count; } | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp: In function ‘void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:945:74: note: unnamed temporary defined here 945 | const MetaString& user = att->getUserName(); | ~~~~~~~~~~~~~~~~^~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:946:62: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp: In function ‘void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:945:74: note: unnamed temporary defined here 945 | const MetaString& user = att->getUserName(); | ~~~~~~~~~~~~~~~~^~ In member function ‘FB_SIZE_T Firebird::MetaString::length() const’, inlined from ‘void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:954:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:78:43: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 78 | FB_SIZE_T length() const { return count; } | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp: In function ‘void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:953:73: note: unnamed temporary defined here 953 | const MetaString& role = att->getSqlRole(); | ~~~~~~~~~~~~~~~^~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:954:62: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp: In function ‘void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:953:73: note: unnamed temporary defined here 953 | const MetaString& role = att->getSqlRole(); | ~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl_builtin.cpp:7: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp: In function ‘void INF_transaction_info(const Jrd::jrd_tra*, ULONG, const UCHAR*, ULONG, UCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:1298:42: warning: ‘length’ may be used uninitialized [-Wmaybe-uninitialized] 1298 | if (!(info = INF_put_item(item, length, buffer, info, end))) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/inf.cpp:1200:15: note: ‘length’ was declared here 1200 | ULONG length; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/jrd.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl.cpp: In function ‘void INTL_convert_string(dsc*, const dsc*, Firebird::Callbacks*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl.cpp:899:41: warning: ‘to_fill’ may be used uninitialized [-Wmaybe-uninitialized] 899 | if (to->dsc_dtype == dtype_text && to_fill > 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/intl.cpp:821:15: note: ‘to_fill’ was declared here 821 | ULONG to_fill; | ^~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/lck.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/met.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/mov.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/mov.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/Hash.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp:52: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp:55: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/VaryStr.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/mov.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp: In member function ‘virtual void Jrd::JAttachment::addRef()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp:285:13: warning: unused variable ‘v’ [-Wunused-variable] 285 | int v = ++refCounter; | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp: In constructor ‘Jrd::DatabaseOptions::DatabaseOptions()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp:1138:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::DatabaseOptions’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 1138 | memset(this, 0, reinterpret_cast(&this->dpb_user_name) - reinterpret_cast(this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp:1055:15: note: ‘class Jrd::DatabaseOptions’ declared here 1055 | class DatabaseOptions | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp: In function ‘void check_database(Jrd::thread_db*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.cpp:6753:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 6753 | if ((attachment->att_flags & ATT_shutdown) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 6754 | (attachment->att_purge_tid != Thread::getCurrentThreadId()) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/mov.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nbak.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/nbak.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp: In function ‘Jrd::lck_owner_t get_owner_type(Jrd::lck_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp:596:16: warning: ‘owner_type’ may be used uninitialized [-Wmaybe-uninitialized] 596 | return owner_type; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp:547:21: note: ‘owner_type’ was declared here 547 | lck_owner_t owner_type; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp: In function ‘void LCK_init(Jrd::thread_db*, Jrd::lck_owner_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp:637:49: warning: ‘owner_id’ may be used uninitialized [-Wmaybe-uninitialized] 637 | if (!dbb->lockManager()->initializeOwner(&statusVector, owner_id, owner_type, owner_handle_ptr)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/lck.cpp:612:22: note: ‘owner_id’ was declared here 612 | LOCK_OWNER_T owner_id; | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/blb_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/mov.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/blb_proto.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nodebug.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/nodebug.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ods.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ods.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nbak.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/pag.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/pag.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ods.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ods.cpp: In function ‘ULONG Ods::maxIndices(ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/ods.cpp:134:57: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 134 | return static_cast((page_size - offsetof(index_root_page, irt_rpt[0])) / | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/par.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/par.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nbak.cpp: In constructor ‘Jrd::BackupManager::StateWriteGuard::StateWriteGuard(Jrd::thread_db*, Jrd::WIN*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nbak.cpp:167:32: warning: unused variable ‘att’ [-Wunused-variable] 167 | Jrd::Attachment* const att = tdbb->getAttachment(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nbak.cpp: In destructor ‘Jrd::BackupManager::StateWriteGuard::~StateWriteGuard()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nbak.cpp:191:32: warning: unused variable ‘att’ [-Wunused-variable] 191 | Jrd::Attachment* const att = m_tdbb->getAttachment(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nbak.cpp: In member function ‘ULONG Jrd::BackupManager::getPageIndex(Jrd::thread_db*, ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/nbak.cpp:732:70: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 732 | if (diff_page || backup_state == Ods::hdr_nbak_merge && allocIsValid) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/pag.cpp:67: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/par.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/pag.cpp:70: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/ImplementHelper.h:33: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITimerImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::Database::Linger; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:16066:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::Database::Linger; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/pag.cpp:80: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/rlck.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/rlck.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/par.cpp:46: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/pag.cpp: In member function ‘bool Jrd::PageSpace::extend(Jrd::thread_db*, ULONG, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/pag.cpp:2437:76: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2437 | if (pageNum < maxPageNumber || MAX_EXTEND_BYTES < MIN_EXTEND_BYTES && !forceSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/par.cpp: In function ‘Jrd::PlanNode* par_plan(Jrd::thread_db*, Jrd::CompilerScratch*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/par.cpp:1018:36: warning: unused variable ‘count’ [-Wunused-variable] 1018 | const auto count = csb->csb_blr_reader.getWord(); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/par.cpp: In function ‘void PAR_procedure_parms(Jrd::thread_db*, Jrd::CompilerScratch*, Jrd::jrd_prc*, Jrd::MessageNode**, Jrd::ValueListNode**, Jrd::ValueListNode**, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/par.cpp:1187:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1187 | if (count || input_flag && procedure->getDefaultCount()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/par.cpp:50: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/ini.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/rlck.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/rlck.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/rpb_chain.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/rpb_chain.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/scl.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sdw.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/sdw.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/rpb_chain.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/rpb_chain.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/rpb_chain.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sdw.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/rpb_chain.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/shut.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/shut.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sdw.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sdw.cpp: In function ‘bool check_for_file(Jrd::thread_db*, const SCHAR*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sdw.cpp:1228:19: warning: unused variable ‘dbb’ [-Wunused-variable] 1228 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sort.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/sort.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/shut.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sort.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/Mapping.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/shut.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sqz.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/sqz.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sort.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/svc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/svc.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sqz.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/tpc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sqz.cpp: In constructor ‘Jrd::Compressor::Compressor(Firebird::MemoryPool&, bool, bool, ULONG, const UCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sqz.cpp:111:20: warning: unused variable ‘input’ [-Wunused-variable] 111 | const auto input = data; | ^~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/svc.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/sqz.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/sqz.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/../../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tra.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/tra.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/TraceObjects.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/svc.cpp:60: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/validation.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/validation.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tra.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp: In member function ‘virtual bool Jrd::TipCache::SnapshotsInitializer::initialize(Firebird::SharedMemoryBase*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:93:68: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::TipCache::SnapshotList’ is conditionally-supported [-Winvalid-offsetof] 93 | const ULONG dataSize = sm->sh_mem_length_mapped - offsetof(SnapshotList, slots[0]); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp: In member function ‘virtual bool Jrd::TipCache::MemBlockInitializer::initialize(Firebird::SharedMemoryBase*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:109:69: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::TipCache::TransactionStatusBlock’ is conditionally-supported [-Winvalid-offsetof] 109 | memset(header->data, 0, sm->sh_mem_length_mapped - offsetof(TransactionStatusBlock, data[0])); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:109:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct std::atomic’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 109 | memset(header->data, 0, sm->sh_mem_length_mapped - offsetof(TransactionStatusBlock, data[0])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49: /usr/include/c++/14/atomic:945:12: note: ‘struct std::atomic’ declared here 945 | struct atomic : __atomic_base | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp: In member function ‘void Jrd::TipCache::initTransactionsPerBlock(ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:289:62: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::TipCache::TransactionStatusBlock’ is conditionally-supported [-Winvalid-offsetof] 289 | const ULONG dataOffset = static_cast(offsetof(TransactionStatusBlock, data[0])); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp: In member function ‘SnapshotHandle Jrd::TipCache::allocateSnapshotSlot()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:872:82: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::TipCache::SnapshotList’ is conditionally-supported [-Winvalid-offsetof] 872 | static_cast((m_snapshots->sh_mem_length_mapped - offsetof(SnapshotList, slots[0])) / sizeof(SnapshotData)), | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp: In member function ‘void Jrd::TipCache::remapSnapshots(bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:896:63: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::TipCache::SnapshotList’ is conditionally-supported [-Winvalid-offsetof] 896 | (m_snapshots->sh_mem_length_mapped - offsetof(SnapshotList, slots[0])) / sizeof(SnapshotData)) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tpc.cpp:907:50: warning: ‘offsetof’ within non-standard-layout type ‘Jrd::TipCache::SnapshotList’ is conditionally-supported [-Winvalid-offsetof] 907 | offsetof(SnapshotList, slots[0])), false)) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/validation.cpp:546: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tra.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tra.cpp: In member function ‘void Jrd::TraceSweepEvent::report(ntrace_process_state_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tra.cpp:4316:19: warning: unused variable ‘dbb’ [-Wunused-variable] 4316 | Database* dbb = m_tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/tra.cpp:4325:18: warning: unused variable ‘tran’ [-Wunused-variable] 4325 | jrd_tra* tran = m_tdbb->getTransaction(); | ^~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/validation.cpp:553: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/validation.cpp: In member function ‘Jrd::Validation::RTN Jrd::Validation::walk_data_page(Jrd::jrd_rel*, ULONG, ULONG, UCHAR&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/validation.cpp:1807:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1807 | if (!deleted_flag && (state == tra_committed || state == tra_limbo) || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/vio.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/os/posix/unix.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/os/posix/unix.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProviderImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:12592:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProviderBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::JProvider; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/os/posix/unix.cpp:61: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/os/posix/unix.cpp: In function ‘Jrd::jrd_file* PIO_create(Jrd::thread_db*, const Firebird::PathName&, bool, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/os/posix/unix.cpp:266:21: warning: unused variable ‘rc’ [-Wunused-variable] 266 | int rc = unlink(file_name.c_str()); | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/os/posix/unix.cpp: In function ‘void PIO_force_write(Jrd::jrd_file*, bool, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/os/posix/unix.cpp:436:27: warning: unused variable ‘control’ [-Wunused-variable] 436 | const int control = (forcedWrites ? SYNC : 0) | (notUseFSCache ? O_DIRECT : 0); | ^~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:49: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In member function ‘virtual bool Jrd::SweepTask::handler(Firebird::Task::WorkItem&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:429:29: warning: unused variable ‘att’ [-Wunused-variable] 429 | Attachment* att = tdbb->getAttachment(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘bool VIO_modify(Jrd::thread_db*, Jrd::record_param*, Jrd::record_param*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:3545:63: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3545 | if (rc1 != rc2 || rc1 && MOV_compare(tdbb, &desc3, &desc4)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘Jrd::WriteLockResult VIO_writelock(Jrd::thread_db*, Jrd::record_param*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:4601:16: warning: enumeration value ‘SUCCESS’ not handled in switch [-Wswitch] 4601 | switch (prepare_update(tdbb, transaction, org_rpb->rpb_transaction_nr, org_rpb, &temp, &new_rpb, | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘PrepareResult prepare_update(Jrd::thread_db*, Jrd::jrd_tra*, TraNumber, Jrd::record_param*, Jrd::record_param*, Jrd::record_param*, Jrd::PageStack&, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:6298:67: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 6298 | (rpb->rpb_flags & rpb_incomplete) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 6299 | (rpb->rpb_f_page != org_rpb.rpb_f_page || rpb->rpb_f_line != org_rpb.rpb_f_line)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘void refresh_changed_fields(Jrd::thread_db*, Jrd::Record*, Jrd::record_param*, Jrd::record_param*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:6685:76: warning: comparison of integer expressions of different signedness: ‘int’ and ‘FB_SIZE_T’ {aka ‘unsigned int’} [-Wsign-compare] 6685 | const bool is_fk = (frn < fields.getCount() && fields[frn] == fld); In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::SweepTask::RelInfo; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:216:17: required from here 216 | m_relInfo.grow(m_items.getCount()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::SweepTask::RelInfo’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:388:16: note: ‘struct Jrd::SweepTask::RelInfo’ declared here 388 | struct RelInfo | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/AggNodes.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/AggNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:605:13: warning: ‘bool assert_gc_enabled(const Jrd::jrd_tra*, const Jrd::jrd_rel*)’ defined but not used [-Wunused-function] 605 | static bool assert_gc_enabled(const jrd_tra* transaction, const jrd_rel* relation) | ^~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BlrDebugWriter.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/BlrDebugWriter.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/AggNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/AggNodes.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BlrDebugWriter.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/val.h:35: In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void set_owner_name(Jrd::thread_db*, Jrd::Record*, USHORT)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:6793:75: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘void set_owner_name(Jrd::thread_db*, Jrd::Record*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:6788:74: note: unnamed temporary defined here 6788 | const MetaString& name = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘bool Firebird::MetaString::hasData() const’, inlined from ‘void set_owner_name(Jrd::thread_db*, Jrd::Record*, USHORT)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:6790:19: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:82:39: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 82 | bool hasData() const { return count != 0; } | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘void set_owner_name(Jrd::thread_db*, Jrd::Record*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:6788:74: note: unnamed temporary defined here 6788 | const MetaString& name = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void check_owner(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::record_param*, Jrd::record_param*, USHORT)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:4864:75: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘void check_owner(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::record_param*, Jrd::record_param*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:4860:74: note: unnamed temporary defined here 4860 | const MetaString& name = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘bool Firebird::MetaString::hasData() const’, inlined from ‘void check_owner(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::record_param*, Jrd::record_param*, USHORT)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:4862:19: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:82:39: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 82 | bool hasData() const { return count != 0; } | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘void check_owner(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::record_param*, Jrd::record_param*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:4860:74: note: unnamed temporary defined here 4860 | const MetaString& name = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/AggNodes.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BlrDebugWriter.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/BoolNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/tra.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/AggNodes.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/jrd.h:48: In member function ‘Object Firebird::Stack::Entry::getObject(FB_SIZE_T) const [with Object = Jrd::Record*; unsigned int Capacity = 16]’, inlined from ‘const Object Firebird::Stack::const_iterator::object() const [with Object = Jrd::Record*; unsigned int Capacity = 16]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/stack.h:494:26, inlined from ‘void VIO_intermediate_gc(Jrd::thread_db*, Jrd::record_param*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:2656:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../common/classes/stack.h:80:50: warning: array subscript 4294967295 is above array bounds of ‘Jrd::Record* const [16]’ [-Warray-bounds=] 80 | return this->data[pos]; | ~~~~~~~~~~^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/vector.h: In function ‘void VIO_intermediate_gc(Jrd::thread_db*, Jrd::record_param*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/vector.h:166:11: note: while referencing ‘Firebird::Vector::data’ 166 | T data[Capacity]; | ^~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/classes/VaryStr.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DSqlDataTypeUtil.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DSqlDataTypeUtil.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/BoolNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/DataTypeUtil.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DSqlDataTypeUtil.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DSqlDataTypeUtil.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp: In member function ‘bool Jrd::ComparativeBoolNode::stringBoolean(Jrd::thread_db*, Jrd::Request*, dsc*, dsc*, bool) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:981:53: warning: comparison of integer expressions of different signedness: ‘ULONG’ {aka ‘unsigned int’} and ‘SLONG’ {aka ‘int’} [-Wsign-compare] 981 | if (cache && cache->keySize < patternLen + escapeLen) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlCompilerScratch.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DSqlDataTypeUtil.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DdlNodes.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlBatch.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp: In function ‘bool VIO_erase(Jrd::thread_db*, Jrd::record_param*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:2303:48: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 2303 | if (grantor != currentUser) | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/vio.cpp:2301:88: note: unnamed temporary defined here 2301 | const MetaString& currentUser = attachment->getUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlCompilerScratch.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/DataTypeUtil.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCompilerScratch.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlCompilerScratch.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/config/dir_list.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/TempSpace.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlBatch.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCursor.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlCursor.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp: In member function ‘virtual bool Jrd::ComparativeBoolNode::execute(Jrd::thread_db*, Jrd::Request*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:817:45: warning: ‘comparison’ may be used uninitialized [-Wmaybe-uninitialized] 817 | return comparison < 0; | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:768:13: note: ‘comparison’ was declared here 768 | int comparison; // while the two switch() below are in sync, no need to initialize | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/exe_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp: In member function ‘void Jrd::DsqlBatch::DataCache::put3(const void*, ULONG, ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:845:33: warning: unused variable ‘writtenBytes’ [-Wunused-variable] 845 | const FB_UINT64 writtenBytes = m_space->write(offset, data, dataSize); | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp: In member function ‘void Jrd::DsqlBatch::DataCache::put(const void*, ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:882:41: warning: unused variable ‘writtenBytes’ [-Wunused-variable] 882 | const FB_UINT64 writtenBytes = m_space->write(m_used, data, dataSize); | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp: In member function ‘void Jrd::DsqlBatch::DataCache::flush()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:897:25: warning: unused variable ‘writtenBytes’ [-Wunused-variable] 897 | const FB_UINT64 writtenBytes = m_space->write(m_used, m_cache.begin(), m_cache.getCount()); | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp: In member function ‘void Jrd::DsqlBatch::DataCache::done()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:920:33: warning: unused variable ‘writtenBytes’ [-Wunused-variable] 920 | const FB_UINT64 writtenBytes = m_space->write(m_used, m_cache.begin(), m_cache.getCount()); | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlCompilerScratch.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCompilerScratch.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp: In member function ‘ULONG Jrd::DsqlBatch::DataCache::get(UCHAR**)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:938:33: warning: unused variable ‘readBytes’ [-Wunused-variable] 938 | const FB_UINT64 readBytes = m_space->read(m_got, buf, delta); | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/TempSpace.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlBatch.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/classes/BatchCompletionState.h:67:12: required from here 67 | rare.add(StatusPair(reccount, newVector)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Firebird::Pair >’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_pair.h:107:16: note: ‘struct Firebird::Pair >’ declared here 107 | struct Pair : public BasePair | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp: In member function ‘virtual bool Jrd::RseBoolNode::execute(Jrd::thread_db*, Jrd::Request*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:2059:17: warning: ‘invariant_flags’ may be used uninitialized [-Wmaybe-uninitialized] 2059 | *invariant_flags |= VLU_computed; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:2004:17: note: ‘invariant_flags’ was declared here 2004 | USHORT* invariant_flags; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:2064:44: warning: ‘impure’ may be used uninitialized [-Wmaybe-uninitialized] 2064 | impure->vlu_misc.vlu_short = value ? TRUE : FALSE; /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/BoolNodes.cpp:2005:23: note: ‘impure’ was declared here 2005 | impure_value* impure; | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/tra_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCursor.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlRequests.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlCompilerScratch.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCompilerScratch.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlRequests.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCursor.cpp: In member function ‘int Jrd::DsqlCursor::fetchFromCache(Jrd::thread_db*, UCHAR*, FB_UINT64)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCursor.cpp:306:25: warning: unused variable ‘readBytes’ [-Wunused-variable] 306 | const FB_UINT64 readBytes = m_space.read(offset, msgBuffer, m_message->msg_length); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCursor.cpp: In member function ‘bool Jrd::DsqlCursor::cacheInput(Jrd::thread_db*, FB_UINT64)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCursor.cpp:334:41: warning: unused variable ‘writtenBytes’ [-Wunused-variable] 334 | const FB_UINT64 writtenBytes = m_space.write(offset, msgBuffer, m_message->msg_length); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlCursor.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlRequests.h:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/Statement.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatementCache.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlStatementCache.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp: In member function ‘Jrd::TimeoutTimer* Jrd::DsqlRequest::setupTimer(Jrd::thread_db*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:140:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 140 | if (!timeOut || attTout && attTout < timeOut) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp: In member function ‘void Jrd::DsqlDmlRequest::doExecute(Jrd::thread_db*, Jrd::jrd_tra**, Firebird::IMessageMetadata*, UCHAR*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_SELECT’ not handled in switch [-Wswitch] 682 | switch (dsqlStatement->getType()) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_SELECT_UPD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_SELECT_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:682:16: warning: enumeration value ‘TYPE_RETURNING_CURSOR’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/utils_proto.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlRequests.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlRequests.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatements.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlStatements.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatementCache.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatementCache.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatementCache.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatements.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/ExprNodes.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/Statement.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatementCache.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatementCache.cpp: In member function ‘void Jrd::DsqlStatementCache::purge(Jrd::thread_db*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatementCache.cpp:237:28: warning: unused variable ‘ret’ [-Wunused-variable] 237 | const bool ret = LCK_convert(tdbb, lock, LCK_SR, LCK_NO_WAIT); // never fails | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/objects_array.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/Statement.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatements.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DsqlStatements.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/DsqlStatements.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/TimeZoneUtil.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] sed -n '/%type .*/p' < /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/parse.y > /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/types.y sed 's/%type .*//' < /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/parse.y > /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y.y (/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/btyacc/btyacc -l -d -S /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/btyacc_fb.ske /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y.y; echo $? > /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y.status) 2>&1 | tee /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y.txt /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/btyacc/btyacc: 70 shift/reduce conflicts, 21 reduce/reduce conflicts. In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/PackageNodes.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/StmtNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In member function ‘dsc* Jrd::ArithmeticNode::addSqlTime(Jrd::thread_db*, const dsc*, Jrd::impure_value*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:2818:27: warning: unused variable ‘attachment’ [-Wunused-variable] 2818 | Attachment* const attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In member function ‘void Jrd::LiteralNode::fixMinSInt64(Firebird::MemoryPool&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:8099:22: warning: unused variable ‘s’ [-Wunused-variable] 8099 | const UCHAR* s = litDesc.dsc_address; | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In member function ‘void Jrd::LiteralNode::fixMinSInt128(Firebird::MemoryPool&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:8137:22: warning: unused variable ‘s’ [-Wunused-variable] 8137 | const UCHAR* s = litDesc.dsc_address; | ^ YYTABLESIZE: 154898 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In member function ‘virtual Jrd::ValueExprNode* Jrd::RecordKeyNode::dsqlPass(Jrd::DsqlCompilerScratch*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:10059:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 10059 | !rlxAlias && context->ctx_internal_alias.hasData()) && | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:10004:20: warning: unused variable ‘tdbb’ [-Wunused-variable] 10004 | thread_db* tdbb = JRD_get_thread_data(); | ^~~~ (exit `cat /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y.status`) sed -n -e "s/.*btyacc: \(.*conflicts.*\)/\1/p" /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y.txt > /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/parse-conflicts.txt sed -i -e 's/#define \([A-Z].*\)/#define TOK_\1/' /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y_tab.h sed -i -e 's/#define TOK_YY\(.*\)/#define YY\1/' /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y_tab.h mv -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y_tab.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen/parse.h mv -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/y_tab.c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp touch /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/.parse-gen-sentinel g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/WinNodes.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/WinNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In member function ‘virtual dsc* Jrd::SubstringSimilarNode::execute(Jrd::thread_db*, Jrd::Request*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:12198:53: warning: comparison of integer expressions of different signedness: ‘ULONG’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 12198 | if (cache && cache->keySize < patternLen + escapeLen) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In member function ‘virtual dsc* Jrd::UdfCallNode::execute(Jrd::thread_db*, Jrd::Request*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:13203:34: warning: unused variable ‘attachment’ [-Wunused-variable] 13203 | Jrd::Attachment* attachment = tdbb->getAttachment(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:13075:29: required from here 13075 | csb->csb_external.insert(idx, temp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ddl.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/ddl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:549:14: required from here 549 | descs.resize(items.getCount()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:223:3: required from ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 223 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:13075:29: required from here 13075 | csb->csb_external.insert(idx, temp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/WinNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/WinNodes.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/unicode_util.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/TimeZoneUtil.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/MetaName.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/SysFunction.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ddl.cpp:75: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/BoolNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/SysFunction.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/WinNodes.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ddl.cpp:81: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/DataTypeUtil.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/SysFunction.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp: In static member function ‘static Jrd::DmlNode* Jrd::SavepointEncloseNode::parse(Jrd::thread_db*, Firebird::MemoryPool&, Jrd::CompilerScratch*, UCHAR)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:8873:20: warning: unused variable ‘blrOp’ [-Wunused-variable] 8873 | const auto blrOp = csb->csb_blr_reader.getByte(); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp: In function ‘Jrd::VariableNode* Jrd::dsqlPassHiddenVariable(DsqlCompilerScratch*, ValueExprNode*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_AGGREGATE’ not handled in switch [-Wswitch] 10274 | switch (expr->getType()) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_ALIAS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_ARITHMETIC’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_ARRAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_AT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_BOOL_AS_VALUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_CAST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_COALESCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_COLLATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_CONCATENATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_DERIVED_EXPR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_DECODE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_DEFAULT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_DERIVED_FIELD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_DOMAIN_VALIDATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_EXTRACT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_GEN_ID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_LOCAL_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_LOCAL_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_MAP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_NEGATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_ORDER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_OVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_SCALAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_STMT_EXPR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_STR_CASE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_STR_LEN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_SUBQUERY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_SUBSTRING’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_SUBSTRING_SIMILAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_SYSFUNC_CALL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_TRIM’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_UDF_CALL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_VALUE_IF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_WINDOW_CLAUSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_WINDOW_CLAUSE_FRAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_WINDOW_CLAUSE_FRAME_EXTENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_BINARY_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_COMPARATIVE_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_MISSING_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_NOT_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_RSE_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_IN_LIST_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_AGGREGATE_SOURCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_LOCAL_TABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_RELATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_RSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_SELECT_EXPR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_UNION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_WINDOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_REC_SOURCE_LIST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10274:16: warning: enumeration value ‘TYPE_VALUE_LIST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp: In function ‘void Jrd::dsqlSetParameterName(DsqlCompilerScratch*, ExprNode*, const ValueExprNode*, const dsql_rel*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_AGGREGATE’ not handled in switch [-Wswitch] 10591 | switch (exprNode->getType()) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_ALIAS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_ARRAY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_AT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_BOOL_AS_VALUE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_CAST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_COALESCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_COLLATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_CURRENT_DATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_CURRENT_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_CURRENT_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_CURRENT_ROLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_CURRENT_USER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_DERIVED_EXPR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_DECODE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_DEFAULT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_DERIVED_FIELD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_DOMAIN_VALIDATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_FIELD’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_GEN_ID’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_INTERNAL_INFO’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_LITERAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_LOCAL_TIME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_LOCAL_TIMESTAMP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_MAP’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_NULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_ORDER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_OVER’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_RECORD_KEY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_SCALAR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_STMT_EXPR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_SUBQUERY’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_SYSFUNC_CALL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_UDF_CALL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_VALUE_IF’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_VARIABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_WINDOW_CLAUSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_WINDOW_CLAUSE_FRAME’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_WINDOW_CLAUSE_FRAME_EXTENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_BINARY_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_COMPARATIVE_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_MISSING_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_NOT_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_RSE_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_IN_LIST_BOOL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_AGGREGATE_SOURCE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_LOCAL_TABLE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_RELATION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_RSE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_SELECT_EXPR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_UNION’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_WINDOW’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_REC_SOURCE_LIST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10591:16: warning: enumeration value ‘TYPE_VALUE_LIST’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10966:27: required from here 10966 | csb->csb_external.insert(i, temp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:1608:19: required from here 1608 | paramArray.resize(pos + count); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:6636:38: required from here 6636 | assignStatements->statements.resize(assignments->statements.getCount()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:223:3: required from ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::ExternalAccess; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 223 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:10966:27: required from here 10966 | csb->csb_external.insert(i, temp); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::ExternalAccess’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:269:8: note: ‘struct Jrd::ExternalAccess’ declared here 269 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/dsql.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/errd.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/errd.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/errd.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DdlNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Parser.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/errd.cpp:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Parser.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp: In function ‘void sql_info(Jrd::thread_db*, Jrd::DsqlRequest*, ULONG, const UCHAR*, ULONG, UCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 801 | switch (dsqlStatement->getType()) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:801:32: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/blb_proto.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/dsql.cpp:58: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/gen.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/gen.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/gen.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In member function ‘virtual dsc* Jrd::ExtractNode::execute(Jrd::thread_db*, Jrd::Request*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:5823:49: warning: ‘part’ may be used uninitialized [-Wmaybe-uninitialized] 5823 | *(USHORT*) impure->vlu_desc.dsc_address = part; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:5681:16: note: ‘part’ was declared here 5681 | USHORT part; | ^~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DdlNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/gen.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/gen.cpp:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/gen.cpp: In function ‘void GEN_sort(Jrd::DsqlCompilerScratch*, UCHAR, Jrd::ValueListNode*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/gen.cpp:632:32: warning: enumeration value ‘NULLS_DEFAULT’ not handled in switch [-Wswitch] 632 | switch (orderNode->nullsPlacement) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In member function ‘void Jrd::ArithmeticNode::getDescDialect3(Jrd::thread_db*, dsc*, dsc&, dsc&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:1905:9: warning: ‘dtype’ may be used uninitialized [-Wmaybe-uninitialized] 1905 | if (dtype == dtype_quad) | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:1632:16: note: ‘dtype’ was declared here 1632 | USHORT dtype; | ^~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/make.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/metd.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/metd.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/movd.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/movd.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp: In member function ‘virtual const Jrd::StmtNode* Jrd::BlockNode::execute(Jrd::thread_db*, Jrd::Request*, Jrd::StmtNode::ExeState*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:672:76: warning: ‘savNumber’ may be used uninitialized [-Wmaybe-uninitialized] 672 | while (transaction->tra_save_point && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 673 | transaction->tra_save_point->getNumber() >= savNumber) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/StmtNodes.cpp:525:19: note: ‘savNumber’ was declared here 525 | SavNumber savNumber; | ^~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/movd.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp: In static member function ‘static Jrd::DmlNode* Jrd::FieldNode::parse(Jrd::thread_db*, Firebird::MemoryPool&, Jrd::CompilerScratch*, UCHAR)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:6022:29: warning: ‘id’ may be used uninitialized [-Wmaybe-uninitialized] 6022 | return PAR_gen_field(tdbb, stream, id, byId); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/ExprNodes.cpp:5911:16: note: ‘id’ was declared here 5911 | SSHORT id; | ^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:52: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp: In function ‘Jrd::ValueExprNode* MAKE_constant(const char*, Jrd::dsql_constant_type, SSHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:272:32: warning: enumeration value ‘CONSTANT_DOUBLE’ not handled in switch [-Wswitch] 272 | switch (numeric_flag) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:272:32: warning: enumeration value ‘CONSTANT_DECIMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:272:32: warning: enumeration value ‘CONSTANT_NUM128’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:272:32: warning: enumeration value ‘CONSTANT_BOOLEAN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:293:32: warning: enumeration value ‘CONSTANT_DOUBLE’ not handled in switch [-Wswitch] 293 | switch (numeric_flag) | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/movd.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:293:32: warning: enumeration value ‘CONSTANT_DECIMAL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:293:32: warning: enumeration value ‘CONSTANT_NUM128’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:293:32: warning: enumeration value ‘CONSTANT_BOOLEAN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp: In function ‘Jrd::dsql_par* MAKE_parameter(Jrd::dsql_msg*, bool, bool, USHORT, const Jrd::ValueExprNode*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/make.cpp:481:20: warning: unused variable ‘tdbb’ [-Wunused-variable] 481 | thread_db* tdbb = JRD_get_thread_data(); | ^~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/pass1.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp:13: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp:145: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/utld.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/utld.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp:146: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp:154: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp: In member function ‘bool Jrd::InvalidReferenceFinder::visit(Jrd::ExprNode*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp:281:14: warning: unused variable ‘invalid’ [-Wunused-variable] 281 | bool invalid = false; | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp: In member function ‘int Jrd::Parser::parseAux()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp:36144:38: warning: unused variable ‘yynewerrflag’ [-Wunused-variable] 36144 | int /*yym, */yyn, yystate, yychar, yynewerrflag; | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp: In function ‘void PASS1_expand_select_node(Jrd::DsqlCompilerScratch*, Jrd::ExprNode*, Jrd::ValueListNode*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp:1408:42: warning: unused variable ‘tdbb’ [-Wunused-variable] 1408 | thread_db* const tdbb = JRD_get_thread_data(); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp: In function ‘Jrd::RecordSourceNode* PASS1_relation(Jrd::DsqlCompilerScratch*, Jrd::RecordSourceNode*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp:1721:27: warning: unused variable ‘node’ [-Wunused-variable] 1721 | RecordSourceNode* node = NULL; | ^~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/utld.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp:36816:32: required from here 36816 | { yyvsp[-1].privilegeArray->add(PrivilegeClause('A', NULL)); } | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Firebird::Pair >’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/../common/classes/fb_pair.h:107:16: note: ‘struct Firebird::Pair >’ declared here 107 | struct Pair : public BasePair | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp:37048:30: required from here 37048 | { yyvsp[-2].granteeArray->add(GranteeClause(obj_procedure, *yyvsp[0].metaNamePtr)); } | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Firebird::Pair >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/../common/classes/fb_pair.h:107:16: note: ‘struct Firebird::Pair >’ declared here 107 | struct Pair : public BasePair | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.cpp:40364:45: required from here 40364 | { yyvsp[-1].alterDatabaseNode->pubTables.add(*yyvsp[0].metaNamePtr); } | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/extds/ExtDS.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp: In function ‘Jrd::RseNode* pass1_rse_impl(Jrd::DsqlCompilerScratch*, Jrd::RecordSourceNode*, Jrd::ValueListNode*, Jrd::RowsClause*, bool, bool, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp:1997:41: warning: ‘*(Jrd::dsql_ctx*).Jrd::dsql_ctx::ctx_flags’ may be used uninitialized [-Wmaybe-uninitialized] 1997 | parent_context->ctx_flags |= CTX_outer_join; | ~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/pass1.cpp:2176:41: warning: ‘*(Jrd::dsql_ctx*).Jrd::dsql_ctx::ctx_flags’ may be used uninitialized [-Wmaybe-uninitialized] 2176 | parent_context->ctx_flags |= CTX_outer_join; | ~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp: In member function ‘void EDS::Provider::bindConnection(Jrd::thread_db*, EDS::Connection*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:390:14: warning: unused variable ‘ret’ [-Wunused-variable] 390 | bool ret = m_connections.add(AttToConn(attachment, conn)); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp: In member function ‘EDS::Connection* EDS::Provider::getBoundConnection(Jrd::thread_db*, const Firebird::PathName&, Firebird::ClumpletReader&, EDS::TraScope, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:398:19: warning: unused variable ‘dbb’ [-Wunused-variable] 398 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp: In member function ‘virtual void EDS::Provider::releaseConnection(Jrd::thread_db*, EDS::Connection&, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:476:37: warning: unused variable ‘test’ [-Wunused-variable] 476 | Connection* test = acc.current().m_conn; | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:472:22: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 472 | bool found = false; | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp: In member function ‘EDS::Transaction* EDS::Connection::findTransaction(Jrd::thread_db*, EDS::TraScope) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:804:16: warning: enumeration value ‘traNotSet’ not handled in switch [-Wswitch] 804 | switch (traScope) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:804:16: warning: enumeration value ‘traAutonomous’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp: In member function ‘void EDS::ConnectionsPool::putConnection(Jrd::thread_db*, EDS::Connection*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:1011:35: warning: unused variable ‘pos’ [-Wunused-variable] 1011 | FB_SIZE_T pos; | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp: In member function ‘virtual void EDS::Transaction::start(Jrd::thread_db*, EDS::TraScope, EDS::TraModes, bool, bool, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:1594:16: warning: enumeration value ‘traNotSet’ not handled in switch [-Wswitch] 1594 | switch (m_scope) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:1594:16: warning: enumeration value ‘traAutonomous’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp: In member function ‘void EDS::Statement::setInParams(Jrd::thread_db*, const Jrd::MetaName* const*, const Jrd::ValueListNode*, const EDS::ParamNumbers*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:2240:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2240 | if (m_error = (!names && sqlCount)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:2270:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2270 | if (sqlCount || names && count > 0) | ~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/classes/Hash.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../tra.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/extds/InternalDS.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ExtDS.cpp:26: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITimerImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = EDS::ConnectionsPool::IdleTimer; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:16066:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = EDS::ConnectionsPool::IdleTimer; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../align.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/IscDS.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/extds/IscDS.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp: In member function ‘virtual void EDS::InternalStatement::doPrepare(Jrd::thread_db*, const Firebird::string&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:551:16: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] 551 | switch (dsqlStatement->getType()) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/EngineInterface.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../align.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../tra.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:25: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IMessageMetadataImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:10014:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IMessageMetadataBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::MsgMetadata; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../align.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/IscDS.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/IscDS.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ValidatePassword.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/extds/ValidatePassword.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:35: In member function ‘int Firebird::MetaString::compare(const Firebird::MetaString&) const’, inlined from ‘bool Firebird::MetaString::operator!=(const Firebird::MetaString&) const’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:100:61, inlined from ‘virtual bool EDS::InternalConnection::isSameDatabase(const Firebird::PathName&, Firebird::ClumpletReader&, const EDS::CryptHash&) const’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:282:12: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:93:72: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 93 | int compare(const MetaString& m) const { return memcmp(data, m.data, MAX_SQL_IDENTIFIER_SIZE); } | ~~^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp: In member function ‘virtual bool EDS::InternalConnection::isSameDatabase(const Firebird::PathName&, Firebird::ClumpletReader&, const EDS::CryptHash&) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:274:61: note: unnamed temporary defined here 274 | const MetaString& attUser = att->getUserName(); | ~~~~~~~~~~~~~~~~^~ In member function ‘int Firebird::MetaString::compare(const Firebird::MetaString&) const’, inlined from ‘bool Firebird::MetaString::operator!=(const Firebird::MetaString&) const’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:100:61, inlined from ‘virtual bool EDS::InternalConnection::isSameDatabase(const Firebird::PathName&, Firebird::ClumpletReader&, const EDS::CryptHash&) const’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:289:12: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:93:72: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 93 | int compare(const MetaString& m) const { return memcmp(data, m.data, MAX_SQL_IDENTIFIER_SIZE); } | ~~^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp: In member function ‘virtual bool EDS::InternalConnection::isSameDatabase(const Firebird::PathName&, Firebird::ClumpletReader&, const EDS::CryptHash&) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/InternalDS.cpp:275:60: note: unnamed temporary defined here 275 | const MetaString& attRole = att->getSqlRole(); | ~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/IscDS.cpp: In member function ‘virtual void EDS::IscStatement::doClose(Jrd::thread_db*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/IscDS.cpp:693:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 693 | m_allocated = m_handle = 0; | ~~~~~~~~~^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/EngineInterface.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../exe.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../align.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../tra.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/IscDS.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/ValidatePassword.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/InnerJoin.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/optimizer/InnerJoin.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/InnerJoin.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/../../jrd/../jrd/../common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/IscDS.cpp: In member function ‘virtual void EDS::IscStatement::doSetInParams(Jrd::thread_db*, unsigned int, const Firebird::MetaString* const*, const NestConst*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/extds/IscDS.cpp:711:32: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying between 0 and 31 bytes from a string of length 252 [-Wstringop-truncation] 711 | strncpy(xVar->sqlname, names[i]->c_str(), len); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/InnerJoin.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Optimizer.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/optimizer/Optimizer.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Retrieval.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/optimizer/Retrieval.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::InnerJoin::JoinedStreamInfo; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/InnerJoin.cpp:73:20: required from here 73 | joinedStreams.grow(streams.getCount()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::InnerJoin::JoinedStreamInfo’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/InnerJoin.cpp:50: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/optimizer/Optimizer.h:905:16: note: ‘struct Jrd::InnerJoin::JoinedStreamInfo’ declared here 905 | struct JoinedStreamInfo | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/recsrc/RecordSource.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/InnerJoin.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Optimizer.cpp:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Retrieval.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/AggregatedStream.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Optimizer.cpp:46: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Retrieval.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Retrieval.cpp: In member function ‘bool Jrd::Retrieval::matchBoolean(Jrd::IndexScratch*, Jrd::BoolExprNode*, unsigned int) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Retrieval.cpp:1699:20: warning: unused variable ‘notNode’ [-Wunused-variable] 1699 | const auto notNode = nodeAs(boolean); | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Retrieval.cpp:1700:20: warning: unused variable ‘rseNode’ [-Wunused-variable] 1700 | const auto rseNode = nodeAs(boolean); | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/recsrc/RecordSource.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/optimizer/Retrieval.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp: In instantiation of ‘void Jrd::BaseAggWinStream::internalOpen(Jrd::thread_db*) const [with ThisType = Jrd::WindowedStream::WindowStream; NextType = Jrd::BaseBufferedStream]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp:373:21: required from here 373 | template class Jrd::BaseAggWinStream; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp:82:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 82 | memset(impure->groupValues, 0, sizeof(impure_value) * impureCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp: In instantiation of ‘void Jrd::BaseAggWinStream::internalOpen(Jrd::thread_db*) const [with ThisType = Jrd::AggregatedStream; NextType = Jrd::RecordSource]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/recsrc/RecordSource.h:853:8: required from here 853 | void internalOpen(thread_db* tdbb) const override; | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/AggregatedStream.cpp:82:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 82 | memset(impure->groupValues, 0, sizeof(impure_value) * impureCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/BitmapTableScan.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/BitmapTableScan.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/BufferedStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/BufferedStream.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/BitmapTableScan.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/BufferedStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/BufferedStream.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/BitmapTableScan.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ConditionalStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/ConditionalStream.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/BufferedStream.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/align.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/Cursor.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/Cursor.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ConditionalStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ExternalTableScan.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/ExternalTableScan.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FilteredStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/FilteredStream.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/Cursor.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ConditionalStream.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ExternalTableScan.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/Cursor.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FilteredStream.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FirstRowsStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/FirstRowsStream.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ExternalTableScan.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FilteredStream.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FirstRowsStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FullOuterJoin.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/FullOuterJoin.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FullTableScan.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/FullTableScan.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/HashJoin.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/HashJoin.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FirstRowsStream.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FullOuterJoin.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FullTableScan.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/Aligner.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/HashJoin.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/IndexTableScan.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/IndexTableScan.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FullOuterJoin.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/HashJoin.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/FullTableScan.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/HashJoin.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/IndexTableScan.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/LocalTableStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/LocalTableStream.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/LockedStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/LockedStream.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/IndexTableScan.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/MergeJoin.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/MergeJoin.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/IndexTableScan.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/LocalTableStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/LocalTableStream.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/LockedStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/LocalTableStream.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/MergeJoin.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/LockedStream.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/align.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/NestedLoopJoin.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/NestedLoopJoin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/MergeJoin.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ProcedureScan.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/ProcedureScan.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/MergeJoin.cpp:49:15: required from here 49 | m_args.resize(count); | ~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecordSource.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/RecordSource.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/NestedLoopJoin.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecursiveStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/RecursiveStream.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ProcedureScan.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/NestedLoopJoin.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecordSource.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ProcedureScan.cpp:23: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecursiveStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecordSource.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/ProcedureScan.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecordSource.cpp: In static member function ‘static void Jrd::RecordSource::printInversion(Jrd::thread_db*, const Jrd::InversionNode*, Firebird::string&, bool, unsigned int, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecordSource.cpp:155:46: warning: unused variable ‘minSegs’ [-Wunused-variable] 155 | const USHORT minSegs = MIN(retrieval->irb_lower_count, retrieval->irb_upper_count); | ^~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SingularStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/SingularStream.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecursiveStream.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecursiveStream.cpp: In member function ‘void Jrd::RecursiveStream::cleanupLevel(Jrd::Request*, Impure*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecursiveStream.cpp:323:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 323 | memmove(rpb, p, sizeof(record_param)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SingularStream.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecursiveStream.cpp: In member function ‘virtual bool Jrd::RecursiveStream::internalGetRecord(Jrd::thread_db*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecursiveStream.cpp:186:31: warning: ‘rsb’ may be used uninitialized [-Wmaybe-uninitialized] 186 | while (!rsb->getRecord(tdbb)) | ~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/RecursiveStream.cpp:133:29: note: ‘rsb’ was declared here 133 | const RecordSource* rsb; | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SkipRowsStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/SkipRowsStream.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SingularStream.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SortedStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/SortedStream.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/Union.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/Union.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:95:3: required from ‘Firebird::Array::Array(Firebird::MemoryPool&, size_type) [with T = Jrd::record_param; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 95 | ensureCapacity(InitialCapacity); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SingularStream.cpp:104:58: required from here 104 | HalfStaticArray rpbs(pool, streamCount); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SkipRowsStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/Union.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SortedStream.cpp:21: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/VirtualTableScan.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/VirtualTableScan.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SkipRowsStream.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/SortedStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/Union.cpp:22: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/Union.cpp:46:15: required from here 46 | m_args.resize(argCount); | ~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/Union.cpp:54:15: required from here 54 | m_maps.resize(argCount); | ~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/VirtualTableScan.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/WindowedStream.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/WindowedStream.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Applier.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Applier.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/VirtualTableScan.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/ChangeLog.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/ChangeLog.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/WindowedStream.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Applier.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Config.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Config.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/ChangeLog.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/evl_proto.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/WindowedStream.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/ChangeLog.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/WindowedStream.cpp: In member function ‘virtual void Jrd::WindowedStream::WindowStream::internalOpen(Jrd::thread_db*) const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/WindowedStream.cpp:564:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 564 | memset(impure->orderValues, 0, sizeof(impure_value) * impureCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Applier.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/recsrc/WindowedStream.cpp:505:21: required from here 505 | m_arithNodes.resize(2); | ~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/os/os_utils.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Applier.cpp: In member function ‘void Jrd::Applier::startTransaction(Jrd::thread_db*, TraNumber)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Applier.cpp:448:20: warning: unused variable ‘attachment’ [-Wunused-variable] 448 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Applier.cpp: In member function ‘bool Jrd::Applier::lookupRecord(Jrd::thread_db*, Jrd::jrd_rel*, Jrd::Record*, Jrd::index_desc&, const Jrd::MetaName*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Applier.cpp:1185:54: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1185 | if (null1 != null2 || !null1 && MOV_compare(tdbb, &desc1, &desc2)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.h:108:15: required from here 108 | atoms.add(name); | ~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Firebird::MetaString’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:42:7: note: ‘class Firebird::MetaString’ declared here 42 | class MetaString | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::MetaString; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::MetaString; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Applier.cpp:189:15: required from here 189 | m_atoms.add(name); | ~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Firebird::MetaString’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:42:7: note: ‘class Firebird::MetaString’ declared here 42 | class MetaString | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Manager.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Manager.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Publisher.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Publisher.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Replicator.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Manager.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ini.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Publisher.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Manager.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Publisher.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Publisher.cpp:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.cpp: In member function ‘void Replication::Replicator::commitTransaction(Firebird::CheckStatusWrapper*, Transaction*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.cpp:207:28: warning: unused variable ‘dataLength’ [-Wunused-variable] 207 | const auto dataLength = txnData.buffer->getCount() - sizeof(Block); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.h:108:15: required from here 108 | atoms.add(name); | ~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Firebird::MetaString’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:42:7: note: ‘class Firebird::MetaString’ declared here 42 | class MetaString | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Replication::Replicator::GeneratorValue; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Replication::Replicator::GeneratorValue; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.cpp:479:19: required from here 479 | m_generators.add(generator); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Replication::Replicator::GeneratorValue’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.h:43:24: note: ‘struct Replication::Replicator::GeneratorValue’ declared here 43 | struct GeneratorValue | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Replicator.h:108:15: required from here 108 | atoms.add(name); | ~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Firebird::MetaString’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:42:7: note: ‘class Firebird::MetaString’ declared here 42 | class MetaString | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IReplicatedSessionImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IReplicatedSessionBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Replication::Replicator; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:20901:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IReplicatedSessionBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Replication::Replicator; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Utils.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Utils.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Publisher.cpp: In function ‘Firebird::IReplicatedSession* {anonymous}::getReplicator(Jrd::thread_db*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Publisher.cpp:135:109: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 135 | attachment->att_replicator = FB_NEW Replicator(pool, manager, guid, userName); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/replication/Publisher.cpp:133:79: note: unnamed temporary defined here 133 | const auto& userName = attachment->getUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceCmdLine.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceCmdLine.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceConfigStorage.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceConfigStorage.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceLog.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceLog.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceManager.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceManager.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceObjects.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceLog.cpp: In member function ‘void Jrd::TraceLog::extend(FB_SIZE_T)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceLog.cpp:221:25: warning: unused variable ‘oldUsed’ [-Wunused-variable] 221 | const FB_SIZE_T oldUsed = getUsed(); | ^~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/classes/TempFile.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceConfigStorage.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/TraceObjects.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceManager.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceConfigStorage.cpp:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceService.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceService.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/TraceObjects.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/File.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/classes/TempFile.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceConfigStorage.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/TraceObjects.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITimerImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::ConfigStorage::TouchFile; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:16066:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::ConfigStorage::TouchFile; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/TraceObjects.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/TraceManager.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceManager.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceService.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp: In member function ‘void Jrd::TraceSQLStatementImpl::DSQLParamsImpl::fillParams()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp:290:16: warning: unused variable ‘first_index’ [-Wunused-variable] 290 | USHORT first_index = 0; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/Mapping.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceService.cpp:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/lock/lock.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp: In member function ‘virtual const char* Jrd::TraceConnectionImpl::getRoleName()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp:164:44: warning: function may return address of local variable [-Wreturn-local-addr] 164 | return m_att->getSqlRole().nullStr(); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp:164:33: note: declared here 164 | return m_att->getSqlRole().nullStr(); | ~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp: In member function ‘virtual const char* Jrd::TraceConnectionImpl::getUserName()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp:159:45: warning: function may return address of local variable [-Wreturn-local-addr] 159 | return m_att->getUserName().nullStr(); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceObjects.cpp:159:34: note: declared here 159 | return m_att->getUserName().nullStr(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/scl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceService.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/svc.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/TraceService.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../common/utils_proto.h:35: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITraceLogWriterImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/trace/../../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITraceLogWriterBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::TraceLogWriterImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:18993:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITraceLogWriterBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Jrd::TraceLogWriterImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/GenericMap.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/lock_proto.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/alice.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp: In member function ‘lrq* Jrd::LockManager::deadlock_walk(lrq*, bool*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:2005:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2005 | if (target = deadlock_walk(target, maybe_deadlock)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp: In member function ‘void Jrd::LockManager::validate_lhb(const lhb*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3304:34: warning: unused variable ‘que_next’ [-Wunused-variable] 3304 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3314:34: warning: unused variable ‘que_next’ [-Wunused-variable] 3314 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3324:34: warning: unused variable ‘que_next’ [-Wunused-variable] 3324 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3334:34: warning: unused variable ‘que_next’ [-Wunused-variable] 3334 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp: In member function ‘void Jrd::LockManager::validate_lock(SLONG, USHORT, SLONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3389:34: warning: unused variable ‘que_next’ [-Wunused-variable] 3389 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp: In member function ‘void Jrd::LockManager::validate_owner(SLONG, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3498:50: warning: unused variable ‘que2_next’ [-Wunused-variable] 3498 | const srq* const que2_next = SRQ_NEXT((*que2)); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3522:50: warning: unused variable ‘que2_next’ [-Wunused-variable] 3522 | const srq* const que2_next = SRQ_NEXT((*que2)); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3539:30: warning: variable ‘found_pending’ set but not used [-Wunused-but-set-variable] 3539 | bool found_pending = false; | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3480:34: warning: unused variable ‘que_next’ [-Wunused-variable] 3480 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3587:42: warning: unused variable ‘que2_next’ [-Wunused-variable] 3587 | const srq* const que2_next = SRQ_NEXT((*que2)); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3563:34: warning: unused variable ‘que_next’ [-Wunused-variable] 3563 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3629:42: warning: unused variable ‘que2_next’ [-Wunused-variable] 3629 | const srq* const que2_next = SRQ_NEXT((*que2)); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/lock.cpp:3606:34: warning: unused variable ‘que_next’ [-Wunused-variable] 3606 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/lock_proto.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/alice_meta.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/exe.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/exe.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../lock/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/tdr.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/tdr.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/alice.cpp:53: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/../alice/aliceswi.h:329:20: warning: ‘alice_repl_mode_sw_table’ defined but not used [-Wunused-variable] 329 | static const char* alice_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/../alice/aliceswi.h:324:20: warning: ‘alice_shut_mode_sw_table’ defined but not used [-Wunused-variable] 324 | static const char* alice_shut_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/BurpTasks.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/BurpTasks.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/exe.cpp:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/../alice/aliceswi.h:329:20: warning: ‘alice_repl_mode_sw_table’ defined but not used [-Wunused-variable] 329 | static const char* alice_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/../alice/aliceswi.h:324:20: warning: ‘alice_shut_mode_sw_table’ defined but not used [-Wunused-variable] 324 | static const char* alice_shut_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/tdr.cpp: In function ‘void TDR_list_limbo(FB_API_HANDLE, const TEXT*, SINT64)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/tdr.cpp:314:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 314 | if (trans = MET_get_transaction(status_vector, handle, id)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/tdr.cpp:299:30: warning: unused variable ‘length’ [-Wunused-variable] 299 | const USHORT length = (USHORT) p.getClumpLength(); | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/tdr.cpp:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/../alice/aliceswi.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/../alice/aliceswi.h:329:20: warning: ‘alice_repl_mode_sw_table’ defined but not used [-Wunused-variable] 329 | static const char* alice_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/../alice/aliceswi.h:324:20: warning: ‘alice_shut_mode_sw_table’ defined but not used [-Wunused-variable] 324 | static const char* alice_shut_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/OdsDetection.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/OdsDetection.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/backup.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/burp.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/canonical.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/canonical.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/BurpTasks.cpp:28: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../burp/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/canonical.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isBackup() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 275 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isRestore() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 287 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_split’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_fini’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In static member function ‘static Burp::RestoreRelationTask* Burp::RestoreRelationTask::getRestoreTask(BurpGlobals*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:490:22: warning: unused variable ‘task’ [-Wunused-variable] 490 | auto task = BurpTask::getBurpTask(tdgbl); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/BurpTasks.cpp: In member function ‘void Burp::RestoreRelationTask::verbRecsFinal()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/BurpTasks.cpp:844:24: warning: comparison of integer expressions of different signedness: ‘FB_UINT64’ {aka ‘long long unsigned int’} and ‘Firebird::AtomicCounter::counter_type’ {aka ‘long int’} [-Wsign-compare] 844 | if (m_verbRecs < m_records) | ~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/BurpTasks.cpp: In member function ‘void Burp::RestoreRelationTask::releaseBuffer(Item&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/BurpTasks.cpp:1064:22: warning: unused variable ‘tdgbl’ [-Wunused-variable] 1064 | BurpGlobals* tdgbl = item.m_gbl; | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/misc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/misc.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp:64: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isBackup() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 275 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isRestore() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 287 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_split’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_fini’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In static member function ‘static Burp::RestoreRelationTask* Burp::RestoreRelationTask::getRestoreTask(BurpGlobals*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:490:22: warning: unused variable ‘task’ [-Wunused-variable] 490 | auto task = BurpTask::getBurpTask(tdgbl); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp: In function ‘void BURP_print_warning(Firebird::IStatus*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp:1829:30: warning: unused variable ‘tdgbl’ [-Wunused-variable] 1829 | BurpGlobals* tdgbl = master.get(); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp: In function ‘SLONG get_number(const SCHAR*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp:1982:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1982 | for (const SCHAR* p = string; c = *p++;) | ~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp: In function ‘ULONG get_size(const SCHAR*, burp_fil*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp:2600:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2600 | for (const SCHAR *num = string; c = *num++;) | ~~^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/burp.cpp:62: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/burpswi.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/burpswi.h:237:20: warning: ‘burp_repl_mode_sw_table’ defined but not used [-Wunused-variable] 237 | static const char* burp_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/misc.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/mvol.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/mvol.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/restore.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/gsec/gsec.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gsec/gsec.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/gstat/dba.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/gstat/ppg.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/ppg.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/mvol.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/mvol.cpp:46: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isBackup() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 275 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isRestore() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 287 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_split’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_fini’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h: In static member function ‘static Burp::RestoreRelationTask* Burp::RestoreRelationTask::getRestoreTask(BurpGlobals*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/BurpTasks.h:490:22: warning: unused variable ‘task’ [-Wunused-variable] 490 | auto task = BurpTask::getBurpTask(tdgbl); | ^~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/gstat/ppg.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/nbackup/nbackup.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/nbackup/nbackup.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Function.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Function.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IDbCryptInfoImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/../burp/../common/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IDbCryptInfoBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = DbInfo; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:14964:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IDbCryptInfoBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = DbInfo; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/mvol.cpp: In function ‘bool MVOL_split_hdr_write()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/mvol.cpp:2122:62: warning: ‘%-27.27s’ directive writing 27 bytes into a region of size between 26 and 52 [-Wformat-overflow=] 2122 | sprintf(buffer, "%s%.24s , file No. %4d of %4d, %-27.27s", | ^~~~~~~~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/mvol.cpp:28: In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘bool MVOL_split_hdr_write()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/mvol.cpp:2122:9: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 77 and 103 bytes into a destination of size 101 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/db_alias.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/nbackup/nbackup.cpp:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/nbackup/nbackup.cpp: In member function ‘void NBackup::backup_database(int, Firebird::Guid&, const Firebird::PathName&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/nbackup/nbackup.cpp:1201:19: warning: unused variable ‘page_buff’ [-Wunused-variable] 1201 | Ods::pag* page_buff = NULL; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/nbackup/nbackup.cpp: In function ‘void nbackup(Firebird::UtilSvc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/nbackup/nbackup.cpp:2195:24: warning: enumeration value ‘nbNone’ not handled in switch [-Wswitch] 2195 | switch (op) | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Function.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Function.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dyn_util.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dyn_util.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:74: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Function.cpp:945:39: required from here 945 | function->getInputFields().resize(newCount + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:77: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp:46: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dyn_util.cpp:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:80: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In static member function ‘static void {anonymous}::FunctionManager::validate(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::DeferredWork*, SSHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:4496:34: warning: unused variable ‘attachment’ [-Wunused-variable] 4496 | Jrd::Attachment* attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In static member function ‘static void {anonymous}::ProcedureManager::validate(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::DeferredWork*, SSHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:4597:34: warning: unused variable ‘attachment’ [-Wunused-variable] 4597 | Jrd::Attachment* attachment = tdbb->getAttachment(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:69: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘bool create_expression_index(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/common.h:816:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::index_desc’; use assignment or value-initialization instead [-Wclass-memaccess] 816 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:6578:25: note: in expansion of macro ‘MOVE_CLEAR’ 6578 | MOVE_CLEAR(&idx, sizeof(index_desc)); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/Relation.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../jrd/btr.h:56:8: note: ‘struct Jrd::index_desc’ declared here 56 | struct index_desc | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:6574:36: warning: unused variable ‘dbb’ [-Wunused-variable] 6574 | const auto dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘bool modify_index(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_null’ not handled in switch [-Wswitch] 7302 | switch (work->dfw_type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_create_relation’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_relation’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_update_format’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_compute_security’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_add_file’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_add_shadow’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_shadow’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_shadow_nodelete’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_modify_file’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_erase_file’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_create_field’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_field’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_modify_field’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_global’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_rfr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_post_event’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_create_trigger’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_trigger’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_modify_trigger’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_grant’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_revoke’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_scan_relation’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_create_procedure’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_modify_procedure’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_procedure’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_prm’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_create_collation’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_collation’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_exception’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_create_function’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_modify_function’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_function’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_add_difference’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_delete_difference’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_begin_backup’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_end_backup’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_user_management’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_modify_package_header’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_drop_package_header’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_drop_package_body’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_check_not_null’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_store_view_context_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_set_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_change_repl_state’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_index_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_partner_rel_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_proc_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_force_computed’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_check_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_rel_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_trg_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_new_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_arg_field_not_null’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_db_crypt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_set_linger’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7302:16: warning: enumeration value ‘dfw_clear_cache’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘bool create_index(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7457:19: warning: unused variable ‘dbb’ [-Wunused-variable] 7457 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘bool create_relation(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:7946:19: warning: unused variable ‘dbb’ [-Wunused-variable] 7946 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘Jrd::Format* make_format(Jrd::thread_db*, Jrd::jrd_rel*, USHORT*, TemporaryField*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:10333:19: warning: unused variable ‘dbb’ [-Wunused-variable] 10333 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘bool make_version(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:11027:47: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 11027 | memset(&tfb->tfb_default, 0, sizeof(tfb->tfb_default)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:10665:19: warning: unused variable ‘dbb’ [-Wunused-variable] 10665 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘bool modify_trigger(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:11324:19: warning: unused variable ‘dbb’ [-Wunused-variable] 11324 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:594:15: required from ‘Firebird::SortedArray::size_type Firebird::SortedArray::add(const Value&) [with Value = Jrd::MetaName; Storage = Firebird::EmptyStorage; Key = Jrd::MetaName; KeyOfValue = Firebird::DefaultKeyValue; Cmp = Firebird::DefaultComparator; size_type = unsigned int]’ 594 | this->insert(pos, item); | ~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:8559:17: required from here 8559 | indices.add(rs->getMetaName(tdbb, 1)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dyn_util.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp: In function ‘ULONG DPM_pointer_pages(Jrd::thread_db*, Jrd::jrd_rel*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp:2190:31: warning: unused variable ‘dbb’ [-Wunused-variable] 2190 | const Database* const dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp: In function ‘Ods::rhd* locate_space(Jrd::thread_db*, Jrd::record_param*, SSHORT, Jrd::PageStack&, Jrd::Record*, Jrd::RecordStorageType)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp:3630:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 3630 | if ((type == DPM_primary) && relPages->rel_last_free_pri_dp || | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp: In function ‘void store_big_record(Jrd::thread_db*, Jrd::record_param*, Jrd::PageStack&, Jrd::Compressor&, Jrd::RecordStorageType)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.cpp:4098:20: warning: unused variable ‘inLength’ [-Wunused-variable] 4098 | const auto inLength = in - rpb->rpb_address; | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘bool find_depend_in_dfw(Jrd::thread_db*, TEXT*, USHORT, USHORT, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:10049:86: warning: ‘dfw_type’ may be used uninitialized [-Wmaybe-uninitialized] 10044 | if ((work->dfw_type == dfw_type || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10045 | (work->dfw_type == dfw_modify_procedure && dfw_type == dfw_delete_procedure) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10046 | (work->dfw_type == dfw_modify_field && dfw_type == dfw_delete_global) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10047 | (work->dfw_type == dfw_modify_trigger && dfw_type == dfw_delete_trigger) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10048 | (work->dfw_type == dfw_modify_function && dfw_type == dfw_delete_function)) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10049 | work->dfw_name == object_name && work->dfw_package.isEmpty() && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10050 | (!rel_id || rel_id == work->dfw_id)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:10004:20: note: ‘dfw_type’ was declared here 10004 | enum dfw_t dfw_type; | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/grant.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/grant.o In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp:46: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp: In function ‘bool add_file(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:5580:17: warning: ‘section’ may be used uninitialized [-Wmaybe-uninitialized] 5580 | if (section) | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:5443:16: note: ‘section’ was declared here 5443 | USHORT section, shadow_number; | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:5589:43: warning: ‘shadow_number’ may be used uninitialized [-Wmaybe-uninitialized] 5589 | jrd_489.jrd_490 = shadow_number; | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.cpp:5443:25: note: ‘shadow_number’ was declared here 5443 | USHORT section, shadow_number; | ^~~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/grant.cpp:38: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp: In function ‘void FUN_evaluate(Jrd::thread_db*, const Jrd::Function*, const Jrd::NestValueArray&, Jrd::impure_value*, Firebird::Array&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp:765:16: warning: enumeration value ‘UeNone’ not handled in switch [-Wswitch] 765 | switch (udfError) | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp:351:17: required from here 351 | allArgs.grow(number + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.cpp:49: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/grant.cpp:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘unsigned int {anonymous}::getLatestFormat(Jrd::thread_db*, int, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:1530:28: warning: unused variable ‘format’ [-Wunused-variable] 1530 | const auto format = (*relation->rel_formats)[formatNumber]; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘void {anonymous}::storeGrant(Jrd::thread_db*, const char*, USHORT, const char*, USHORT, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:1587:28: warning: unused variable ‘attachment’ [-Wunused-variable] 1587 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In member function ‘void {anonymous}::RelationSecurity::storePrivileges(Jrd::thread_db*, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:1752:36: warning: unused variable ‘attachment’ [-Wunused-variable] 1752 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In member function ‘void {anonymous}::NonRelationSecurity::storePrivileges(Jrd::thread_db*, const char*, ObjectType)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:1911:36: warning: unused variable ‘attachment’ [-Wunused-variable] 1911 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In member function ‘void {anonymous}::RoleSecurity::storePrivileges(Jrd::thread_db*, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:2039:36: warning: unused variable ‘attachment’ [-Wunused-variable] 2039 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In member function ‘void {anonymous}::DdlSecurity::store(Jrd::thread_db*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:2151:36: warning: unused variable ‘attachment’ [-Wunused-variable] 2151 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘void INI_format(Jrd::thread_db*, const Firebird::string&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:2287:44: warning: unused variable ‘relId’ [-Wunused-variable] 2287 | const auto relId = relfld[RFLD_R_ID]; | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:2247:20: warning: unused variable ‘dbb’ [-Wunused-variable] 2247 | const auto dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘void store_default_pub(Jrd::thread_db*, const Jrd::MetaName&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:3123:20: warning: unused variable ‘attachment’ [-Wunused-variable] 3123 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘void store_indices(Jrd::thread_db*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:3530:20: warning: unused variable ‘attachment’ [-Wunused-variable] 3530 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘void store_message(Jrd::thread_db*, const Jrd::trigger_msg*, Jrd::AutoRequest&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:3819:20: warning: unused variable ‘attachment’ [-Wunused-variable] 3819 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘void store_relation(Jrd::thread_db*, int, const char*, int, int, Jrd::AutoRequest&, {anonymous}::RelationSecurity&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:3866:20: warning: unused variable ‘attachment’ [-Wunused-variable] 3866 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘void store_relation_field(Jrd::thread_db*, int, const char*, const char*, const char*, int, Jrd::AutoRequest&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:3940:20: warning: unused variable ‘attachment’ [-Wunused-variable] 3940 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp: In function ‘void store_packages(Jrd::thread_db*, {anonymous}::NonRelationSecurity&, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.cpp:4044:20: warning: unused variable ‘dbb’ [-Wunused-variable] 4044 | const auto dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:46: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp: In function ‘Jrd::Format* MET_format(Jrd::thread_db*, Jrd::jrd_rel*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:5808:19: warning: unused variable ‘dbb’ [-Wunused-variable] 5808 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp: In function ‘void scan_relation(Jrd::thread_db*, Jrd::jrd_rel*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:9472:19: warning: unused variable ‘dbb’ [-Wunused-variable] 9472 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp: In function ‘Jrd::DSqlCacheItem* get_dsql_cache_item(Jrd::thread_db*, Jrd::sym_type, const Jrd::QualifiedName&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:10106:19: warning: unused variable ‘dbb’ [-Wunused-variable] 10106 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp: In function ‘void lookup_view_contexts(Jrd::thread_db*, Jrd::jrd_rel*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:10473:19: warning: unused variable ‘dbb’ [-Wunused-variable] 10473 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp: In function ‘void MET_store_dependencies(Jrd::thread_db*, Firebird::Array&, const Jrd::jrd_rel*, const Jrd::MetaName&, int, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:11188:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 11180 | (dependency_type == obj_trigger) && (dep_rel != 0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11181 | ( | ~ 11182 | (t = findTrigger(dep_rel->rel_pre_erase, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11183 | (t = findTrigger(dep_rel->rel_pre_modify, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11184 | (t = findTrigger(dep_rel->rel_pre_store, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11185 | (t = findTrigger(dep_rel->rel_post_erase, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11186 | (t = findTrigger(dep_rel->rel_post_modify, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11187 | (t = findTrigger(dep_rel->rel_post_store, object_name)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11188 | ) && t && (t->sysTrigger); | ~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:11220:86: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 11220 | (dep_rel->rel_flags & REL_temp_tran) && (relation->rel_flags & REL_temp_conn) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp: In function ‘Jrd::SecurityClass::flags_t SCL_get_mask(Jrd::thread_db*, const TEXT*, const TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:2128:32: warning: unused variable ‘attachment’ [-Wunused-variable] 2128 | Jrd::Attachment* const attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp: In function ‘Jrd::SecurityClass::flags_t SCL_get_object_mask(ObjectType)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:2554:19: warning: unused variable ‘dbb’ [-Wunused-variable] 2554 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/trace/../../jrd/trace/TraceObjects.h:431:16: required from here 431 | m_descs.grow(1); | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:594:15: required from ‘Firebird::SortedArray::size_type Firebird::SortedArray::add(const Value&) [with Value = Jrd::MetaName; Storage = Firebird::EmptyStorage; Key = Jrd::MetaName; KeyOfValue = Firebird::DefaultKeyValue; Cmp = Firebird::DefaultComparator; size_type = unsigned int]’ 594 | this->insert(pos, item); | ~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:2272:26: required from here 2272 | usr_granted_roles.add(usr_get_role); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.cpp:8822:38: required from here 8822 | procedure->getInputFields().resize(/*P.RDB$PROCEDURE_INPUTS*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 8823 | jrd_223.jrd_239); | ~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/MetaName.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/dyn.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/DdlNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/DdlNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp: In function ‘Jrd::SecurityClass* SCL_get_class(Jrd::thread_db*, const TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:2094:94: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 2094 | SecurityClass* const s_class = FB_NEW_POOL(pool) SecurityClass(pool, string, userName); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:2081:70: note: unnamed temporary defined here 2081 | const MetaString& userName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:2083:42: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 2083 | MetaNamePair key(string, userName); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.cpp:2081:70: note: unnamed temporary defined here 2081 | const MetaString& userName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/Keywords.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/Keywords.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In function ‘const char* Jrd::getRelationScopeName(rel_t)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:11830:15: warning: enumeration value ‘rel_persistent’ not handled in switch [-Wswitch] 11830 | switch(type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CommentOnNode::checkPermission(Jrd::thread_db*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:12848:27: warning: unused variable ‘attachment’ [-Wunused-variable] 12848 | Attachment* const attachment = transaction->tra_attachment; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CreateAlterTriggerNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:16281:27: warning: unused variable ‘attachment’ [-Wunused-variable] 16281 | Attachment* const attachment = transaction->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::RelationNode::defineConstraint(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*, Jrd::MetaName&, Constraint&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:20915:24: warning: enumeration value ‘TYPE_CHECK’ not handled in switch [-Wswitch] 20915 | switch (constraint.type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:20915:24: warning: enumeration value ‘TYPE_NOT_NULL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::CreateAlterViewNode::createCheckTrigger(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::ValueListNode*, TriggerType)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:24929:21: warning: unused variable ‘andArg’ [-Wunused-variable] 24929 | int andArg = 0; | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:24931:33: warning: unused variable ‘andNode’ [-Wunused-variable] 24931 | BinaryBoolNode* andNode = FB_NEW_POOL(pool) BinaryBoolNode(pool, blr_and); | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::MappingNode::runInSecurityDb(Jrd::SecDbContext*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26879:31: warning: enumeration value ‘MAP_RPL’ not handled in switch [-Wswitch] 26879 | switch(op) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::GrantRevokeNode::grantRevoke(Jrd::thread_db*, Jrd::jrd_tra*, const Jrd::GranteeClause*, const Jrd::GranteeClause*, const char*, Jrd::MetaName, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:28680:72: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 28678 | ((objType == obj_sql_role) && (/*PRIV.RDB$PRIVILEGE*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28679 | jrd_199.jrd_205[0] == 'M') && // This is ROLE to USER grant | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28680 | (currentUser != user) && // And current user does not revoke his own grant | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28681 | (isItSqlRole(tdbb, transaction, objName, owner) && // Pick up role owner name | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28682 | (owner == currentUser)) || // Current user is role owner | ~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Keywords.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/Keywords.cpp:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/dyn.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/dyn.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:29671:19: required from here 29671 | pubTables.add(/*REL.RDB$RELATION_NAME*/ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 29672 | jrd_67.jrd_71); | ~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::GrantRevokeNode::CreateDbJob; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::GrantRevokeNode::CreateDbJob; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::GrantRevokeNode::CreateDbJob; Storage = Firebird::EmptyStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:28407:20: required from here 28407 | createDbJobs.push(all); | ~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::GrantRevokeNode::CreateDbJob’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/DdlNodes.h:2367:16: note: ‘struct Jrd::GrantRevokeNode::CreateDbJob’ declared here 2367 | struct CreateDbJob | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/Keywords.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/jrd.h:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Keywords.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/dyn.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/PackageNodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:30: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/Parser.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/Parser.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/jrd.h:90: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/dyn.h:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/dyn.h:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:594:15: required from ‘Firebird::SortedArray::size_type Firebird::SortedArray::add(const Value&) [with Value = Jrd::MetaName; Storage = Firebird::EmptyStorage; Key = Jrd::MetaName; KeyOfValue = Firebird::DefaultKeyValue; Cmp = Firebird::DefaultComparator; size_type = unsigned int]’ 594 | this->insert(pos, item); | ~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:1434:22: required from here 1434 | functionNames.add(fun->name); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Parser.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/Parser.cpp:26: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DdlNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Parser.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/Nodes.h:27: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In constructor ‘NestConst::NestConst(T*) [with T = Jrd::DdlNode]’, inlined from ‘Jrd::DsqlDdlStatement::DsqlDdlStatement(Firebird::MemoryPool&, Jrd::dsql_dbb*, Jrd::DdlNode*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:262:5, inlined from ‘virtual Jrd::DdlNode* Jrd::CreateAlterPackageNode::dsqlPass(Jrd::DsqlCompilerScratch*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:1465:102: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:32:19: warning: ‘ddlNode’ may be used uninitialized [-Wmaybe-uninitialized] 32 | : ptr(aPtr) | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp: In member function ‘virtual Jrd::DdlNode* Jrd::CreateAlterPackageNode::dsqlPass(Jrd::DsqlCompilerScratch*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:1417:26: note: ‘ddlNode’ was declared here 1417 | DdlNode* ddlNode; | ^~~~~~~ In constructor ‘NestConst::NestConst(T*) [with T = Jrd::DdlNode]’, inlined from ‘Jrd::DsqlDdlStatement::DsqlDdlStatement(Firebird::MemoryPool&, Jrd::dsql_dbb*, Jrd::DdlNode*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../dsql/../dsql/DsqlStatements.h:262:5, inlined from ‘virtual Jrd::DdlNode* Jrd::CreatePackageBodyNode::dsqlPass(Jrd::DsqlCompilerScratch*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:2030:103: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:32:19: warning: ‘ddlNode’ may be used uninitialized [-Wmaybe-uninitialized] 32 | : ptr(aPtr) | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp: In member function ‘virtual Jrd::DdlNode* Jrd::CreatePackageBodyNode::dsqlPass(Jrd::DsqlCompilerScratch*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:1974:34: note: ‘ddlNode’ was declared here 1974 | DdlNode* ddlNode; | ^~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/Parser.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/Parser.cpp: In member function ‘int Jrd::Parser::yylexAux()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/Parser.cpp:625:21: warning: unused variable ‘leadNibble’ [-Wunused-variable] 625 | int leadNibble = -1; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp: In member function ‘void Jrd::CreateAlterPackageNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:1607:17: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 1607 | owner = ownerName; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:1556:71: note: unnamed temporary defined here 1556 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/../common/classes/BlrWriter.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../dsql/BlrDebugWriter.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/DdlNodes.h:30: In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void Jrd::CreateAlterPackageNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:1580:9: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp: In member function ‘void Jrd::CreateAlterPackageNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.cpp:1556:71: note: unnamed temporary defined here 1556 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../common/classes/BlrWriter.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/BlrDebugWriter.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/DdlNodes.h:30: In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘virtual void Jrd::CreateFilterNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26154:9: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CreateFilterNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26135:71: note: unnamed temporary defined here 26135 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:376:6: required from ‘void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]’ 376 | add(item); | ~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/DdlNodes.h:2064:18: required from here 2064 | privileges.push(*privName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dsql/../dsql/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘static void Jrd::DdlNode::storePrivileges(Jrd::thread_db*, Jrd::jrd_tra*, const Jrd::MetaName&, int, const char*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:12278:10: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In static member function ‘static void Jrd::DdlNode::storePrivileges(Jrd::thread_db*, Jrd::jrd_tra*, const Jrd::MetaName&, int, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:12265:71: note: unnamed temporary defined here 12265 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void Jrd::DdlNode::storeGlobalField(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::MetaName&, const Jrd::TypeClause*, const Firebird::string&, const Firebird::BlrWriter::BlrData&)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:12455:9: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::DdlNode::storeGlobalField(Jrd::thread_db*, Jrd::jrd_tra*, Jrd::MetaName&, const Jrd::TypeClause*, const Firebird::string&, const Firebird::BlrWriter::BlrData&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:12418:71: note: unnamed temporary defined here 12418 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/metd.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/metd.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/OdsDetection.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/OdsDetection.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp: In function ‘void get_string(const TEXT**, Firebird::string&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp:589:23: warning: unused variable ‘tdgbl’ [-Wunused-variable] 589 | AliceGlobals* tdgbl = AliceGlobals::getSpecific(); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp:75:4: warning: ‘SQLCODE’ defined but not used [-Wunused-variable] 75 | SQLCODE; /* SQL status code */ | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp:74:4: warning: ‘isc_array_length’ defined but not used [-Wunused-variable] 74 | isc_array_length, /* array return size */ | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp:72:4: warning: ‘isc_status2’ defined but not used [-Wunused-variable] 72 | isc_status2 [20]; /* status vector */ | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp:69:4: warning: ‘gds_trans’ defined but not used [-Wunused-variable] 69 | gds_trans = 0; /* default transaction handle */ | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.cpp:66:4: warning: ‘DB’ defined but not used [-Wunused-variable] 66 | DB = 0; /* database handle */ | ^~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/StatementMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/dsql.h:44, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/metd.cpp:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/val.h: In constructor ‘Jrd::Format::Format(Firebird::MemoryPool&, int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/val.h:250:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 250 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/OdsDetection.cpp:32: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/dsql.h:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/SyncObject.h: In member function ‘void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/classes/SyncObject.h:72:28: warning: unused variable ‘ret’ [-Wunused-variable] 72 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../jrd/jrd.h:90, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/metd.cpp:48: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/DsqlCompilerScratch.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:54: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h: In member function ‘bool Jrd::DsqlStatement::isCursorBased() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_INSERT’ not handled in switch [-Wswitch] 95 | switch (type) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_UPDATE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DELETE_CURSOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_CREATE_DB’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_DDL’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_START_TRANS’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_PROCEDURE’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_COMMIT_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_ROLLBACK_RETAIN’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SET_GENERATOR’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SAVEPOINT’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_EXEC_BLOCK’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/../dsql/../dsql/DsqlStatements.h:95:24: warning: enumeration value ‘TYPE_SESSION_MANAGEMENT’ not handled in switch [-Wswitch] In function ‘void Jrd::checkForeignKeyTempScope(thread_db*, jrd_tra*, const MetaName&, const MetaName&)’, inlined from ‘void Jrd::RelationNode::defineConstraint(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*, Jrd::MetaName&, Constraint&)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:20942:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:11209:34: warning: ‘masterType’ may be used uninitialized [-Wmaybe-uninitialized] 11209 | checkRelationType(masterType, masterRelName); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::RelationNode::defineConstraint(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*, Jrd::MetaName&, Constraint&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:11167:15: note: ‘masterType’ was declared here 11167 | rel_t masterType, childType; | ^~~~~~~~~~ In function ‘void Jrd::checkForeignKeyTempScope(thread_db*, jrd_tra*, const MetaName&, const MetaName&)’, inlined from ‘void Jrd::RelationNode::defineConstraint(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*, Jrd::MetaName&, Constraint&)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:20942:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:11210:34: warning: ‘childType’ may be used uninitialized [-Wmaybe-uninitialized] 11210 | checkRelationType(childType, childRelName); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::RelationNode::defineConstraint(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*, Jrd::MetaName&, Constraint&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:11167:27: note: ‘childType’ was declared here 11167 | rel_t masterType, childType; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h: In constructor ‘Jrd::CompilerScratch::Dependency::Dependency(int)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:444:31: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::CompilerScratch::Dependency’; use assignment instead [-Wclass-memaccess] 444 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/exe.h:440:16: note: ‘struct Jrd::CompilerScratch::Dependency’ declared here 440 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/OdsDetection.cpp:119:12: warning: ‘fbIStatus’ defined but not used [-Wunused-variable] 119 | static int fbIStatus; /* last completion code */ | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/dsql.h:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/val.h:244:18: required from here 244 | fmt_desc.resize(fmt_count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::impure_value; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/val.h:245:22: required from here 245 | fmt_defaults.resize(fmt_count); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Jrd::impure_value’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/val.h:121:8: note: ‘struct Jrd::impure_value’ declared here 121 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:526:7: required from here 526 | class SortedArray : public Array | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/dsql.h:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/Attachment.h:454:21: required from here 454 | m_objects.resize(id + 1); | ~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:340:4: required from ‘void Firebird::Array::resize(size_type) [with T = NestConst; Storage = Firebird::EmptyStorage >; size_type = unsigned int]’ 340 | grow(newCount); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../dsql/Nodes.h:1265:15: required from here 1265 | items.resize(count); | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class NestConst’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/NestConst.h:28:7: note: ‘class NestConst’ declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:166:23: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 166 | memcpy(data, source.data, sizeof(T) * source.count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/metd.cpp:3357:21: required from here 3357 | ambiguities.add(baseField); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Jrd::MetaName’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../jrd/MetaName.h:145:7: note: ‘class Jrd::MetaName’ declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:69: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isBackup() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 275 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isRestore() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 287 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_split’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_fini’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h: In static member function ‘static Burp::RestoreRelationTask* Burp::RestoreRelationTask::getRestoreTask(BurpGlobals*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:490:22: warning: unused variable ‘task’ [-Wunused-variable] 490 | auto task = BurpTask::getBurpTask(tdgbl); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:165:3: required from ‘void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 165 | ensureCapacity(source.count, false); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:173:3: required from ‘Firebird::Array& Firebird::Array::operator=(const Firebird::Array&) [with T = Jrd::record_param; Storage = Firebird::EmptyStorage]’ 173 | copyFrom(source); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:334:24: required from here 334 | req_rpb = statement->rpbsSetup; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Jrd::record_param’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: ‘struct Jrd::record_param’ declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp: In function ‘void {anonymous}::put_relation(burp_rel*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:6703:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6703 | for (field = fields; field = fields;) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:6741:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6741 | while (field = unaligned) | ~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:6748:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6748 | while (field = aligned) | ~~~~~~^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:6755:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6755 | while (field = aligned4) | ~~~~~~^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:6762:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6762 | while (field = aligned8) | ~~~~~~^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp: In function ‘void {anonymous}::write_database(const TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:7762:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7762 | if (no_reserve = (USHORT) gds__vax_integer(d, length)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:7767:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7767 | if (page_buffers = gds__vax_integer(d, length)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:7780:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7780 | if (db_read_only = (USHORT) gds__vax_integer(d, length)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:7785:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7785 | if (replica_mode = (USHORT) gds__vax_integer(d, length)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.cpp:129:12: warning: ‘fbIStatus’ defined but not used [-Wunused-variable] 129 | static int fbIStatus; /* last completion code */ | ^~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:55: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isBackup() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 275 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:275:24: warning: enumeration value ‘ACT_restore_join’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h: In member function ‘bool Burp::BurpTask::isRestore() const’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_unknown’ not handled in switch [-Wswitch] 287 | switch (m_masterGbl->action->act_action) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_split’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:287:24: warning: enumeration value ‘ACT_backup_fini’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h: In static member function ‘static Burp::RestoreRelationTask* Burp::RestoreRelationTask::getRestoreTask(BurpGlobals*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/BurpTasks.h:490:22: warning: unused variable ‘task’ [-Wunused-variable] 490 | auto task = BurpTask::getBurpTask(tdgbl); | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘FB_BOOLEAN {anonymous}::get_boolean(BurpGlobals*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:5090:29: warning: unused variable ‘length’ [-Wunused-variable] 5090 | const UCHAR length = get(tdgbl); | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘int RESTORE_restore(const TEXT*, const TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:5367:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5367 | while (error_code = tdgbl->status_vector[1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘SLONG {anonymous}::get_compressed(BurpGlobals*, UCHAR*, SLONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:6568:37: warning: unused variable ‘c’ [-Wunused-variable] 6568 | const UCHAR c = *p = get(tdgbl); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘void {anonymous}::commit_relation_data(BurpGlobals*, burp_rel*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:8765:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 8765 | while (error_code = tdgbl->status_vector[1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘bool {anonymous}::get_global_field(BurpGlobals*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:12575:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 12575 | if (l = type_lengths[l]) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:13057:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 13057 | if (l = type_lengths[l]) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:13530:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 13530 | if (l = type_lengths[l]) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘bool {anonymous}::get_mapping(BurpGlobals*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_end’ not handled in switch [-Wswitch] 16641 | switch(attribute) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_backup_date’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_backup_compress’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_backup_transportable’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_backup_volume’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_backup_zip’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_backup_hash’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_backup_crypt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_file_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_creation_date’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_page_size’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_sweep_interval’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_database_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_database_dfl_charset’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_forced_writes’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_page_buffers’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_SQL_dialect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_db_read_only’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_database_linger’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_database_sql_security_deprecated’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_replica_mode’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_database_sql_security’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_default_pub_active’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_default_pub_auto_enable’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_record_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_view_relation’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_security_class’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_dummy’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_ext_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_owner_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_view_source2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_ext_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_flags’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_ext_file_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_sql_security_deprecated’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_relation_sql_security’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_view_context’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_query_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_scale’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_segment_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_position’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_offset’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_default_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_missing_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_computed_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_computed_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_validation_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_validation_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_number’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_computed_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_system_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_security_class’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_external_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_external_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_external_scale’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_dimensions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_ranges’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_complex_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_range_low’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_range_high’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_update_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_validation_source2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_computed_source2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_null_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_default_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_missing_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_character_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_character_set’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_collation_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_precision’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_owner_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_generator_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_field_identity_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_index_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_index_unique_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_index_field_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_index_foreign_key’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_index_expression_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_index_expression_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_index_condition_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_index_condition_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_data_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_blob_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_blob_number_segments’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_view_relation_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_view_context_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_view_context_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_view_context_package’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_class_security_class’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_class_acl’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_class_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_array_dimensions’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_array_range_low’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_array_range_high’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_xdr_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_xdr_array’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_class_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_relation_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_system_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_source2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_flags’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_valid_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_debug_info’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_engine_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_entrypoint’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_type2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_sql_security_deprecated’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trig_sql_security’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_module_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_entrypoint’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_engine_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_package_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_private_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_valid_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_debug_info’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_security_class’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_owner_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_legacy_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_deterministic_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_sql_security_deprecated’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_function_sql_security’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_field_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_field_scale’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_character_set’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_package_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_arg_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_field_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_default_value’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_default_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_collation_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_null_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_type_mechanism’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_field_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_relation_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_functionarg_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_type_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_type_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_type_system_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_filter_module_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_filter_input_sub_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_filter_output_sub_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_filter_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_type_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_trigmsg_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_priv_user’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_priv_grant_option’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_priv_object_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_priv_obj_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_file_filename’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_file_length’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_file_flags’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_gen_generator’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_gen_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_gen_security_class’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_gen_init_val’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_owner_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_valid_blr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_debug_info’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_engine_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_entrypoint’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_package_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_private_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_sql_security_deprecated’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedure_sql_security’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedureprm_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedureprm_field_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedureprm_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedureprm_default_source’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedureprm_null_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedureprm_mechanism’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedureprm_field_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_procedureprm_relation_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_exception_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_exception_description2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_exception_msg2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_rel_constraint_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_rel_constraint_defer’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_rel_constraint_init’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_ref_constraint_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_ref_update_rule’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_ref_delete_rule’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_role_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_role_sys_priveleges’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_chk_constraint_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_charset_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_charset_coll’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_charset_id’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_charset_funct’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_charset_security_class’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_charset_owner_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_coll_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_coll_attr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_coll_subtype’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_coll_funct’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_coll_specific_attr’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_coll_security_class’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_coll_owner_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_map_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_auto_map_role’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_map_db’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_map_to_type’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_map_description’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_package_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_package_valid_body_flag’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_package_security_class’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_package_sql_security_deprecated’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_dbc_user’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_pub_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_pub_auto_enable’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16641:39: warning: enumeration value ‘att_ptab_pub_name’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘void {anonymous}::get_source_blob(BurpGlobals*, ISC_QUAD&, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:17033:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 17033 | while (*p++ = get(tdgbl)) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In member function ‘void Burp::WriteRelationMeta::prepareRequest(BurpGlobals*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:21645:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 21645 | if (l = type_lengths[l]) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In member function ‘bool Burp::RestoreRelationTask::fileReader(Item&)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:21995:45: warning: comparison of integer expressions of different signedness: ‘RCRD_LENGTH’ {aka ‘unsigned int’} and ‘FB_SSIZE_T’ {aka ‘int’} [-Wsign-compare] 21995 | if (len + attLen + overhead > space) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/UtilSvc.h:36, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/burp.h:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/BatchCompletionState.h:67:12: required from here 67 | rare.add(StatusPair(reccount, newVector)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Firebird::Pair >’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/burp.h:43: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/classes/fb_pair.h:107:16: note: ‘struct Firebird::Pair >’ declared here 107 | struct Pair : public BasePair | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:250:3: required from ‘Firebird::Array::size_type Firebird::Array::add(const T&) [with T = Firebird::Pair >; Storage = Firebird::EmptyStorage > >; size_type = unsigned int]’ 250 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:7897:34: required from here 7897 | tdgbl->defaultCollations.add( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 7898 | Firebird::Pair >( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7899 | /*X.RDB$CHARACTER_SET_NAME*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7900 | fb_1158.fb_1175, /*X.RDB$DEFAULT_COLLATE_NAME*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7901 | fb_1158.fb_1177)); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Firebird::Pair >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/classes/fb_pair.h:107:16: note: ‘struct Firebird::Pair >’ declared here 107 | struct Pair : public BasePair | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::insert(size_type, const T&) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:594:15: required from ‘Firebird::SortedArray::size_type Firebird::SortedArray::add(const Value&) [with Value = Firebird::MetaString; Storage = Firebird::EmptyStorage; Key = Firebird::MetaString; KeyOfValue = Firebird::DefaultKeyValue; Cmp = Firebird::DefaultComparator; size_type = unsigned int]’ 594 | this->insert(pos, item); | ~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:19193:27: required from here 19193 | tdgbl->systemFields.add(name); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:224:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Firebird::MetaString’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 224 | memmove(data + index + 1, data + index, sizeof(T) * (count++ - index)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/burp.h:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/classes/MetaString.h:42:7: note: ‘class Firebird::MetaString’ declared here 42 | class MetaString | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array::ensureCapacity(size_type, bool) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:223:3: required from ‘void Firebird::Array::insert(size_type, const T&) [with T = Firebird::MetaString; Storage = Firebird::EmptyStorage; size_type = unsigned int]’ 223 | ensureCapacity(count + 1); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:594:15: required from ‘Firebird::SortedArray::size_type Firebird::SortedArray::add(const Value&) [with Value = Firebird::MetaString; Storage = Firebird::EmptyStorage; Key = Firebird::MetaString; KeyOfValue = Firebird::DefaultKeyValue; Cmp = Firebird::DefaultComparator; size_type = unsigned int]’ 594 | this->insert(pos, item); | ~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:19193:27: required from here 19193 | tdgbl->systemFields.add(name); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/../common/classes/array.h:508:39: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Firebird::MetaString’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 508 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/../common/classes/MetaString.h:42:7: note: ‘class Firebird::MetaString’ declared here 42 | class MetaString | ^~~~~~~~~~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void Jrd::CreateAlterExceptionNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:19129:11: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::CreateAlterExceptionNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:19095:71: note: unnamed temporary defined here 19095 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:132:12: warning: ‘fbIStatus’ defined but not used [-Wunused-variable] 132 | static int fbIStatus; /* last completion code */ | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/Attachment.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/jrd.h:60: In member function ‘void Jrd::PreparedStatement::Builder::addInput(Type, const void*, Firebird::Array&)’, inlined from ‘Jrd::PreparedStatement::Builder& Jrd::PreparedStatement::Builder::operator<<(const T&) [with T = Firebird::MetaString]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/../jrd/PreparedStatement.h:146:12, inlined from ‘virtual void Jrd::CreateAlterRoleNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26549:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../jrd/../jrd/../jrd/PreparedStatement.h:175:38: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 175 | slot.address = address; | ~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CreateAlterRoleNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26492:71: note: unnamed temporary defined here 26492 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../dsql/../dsql/../common/classes/BlrWriter.h:28: In member function ‘Firebird::Arg::StatusVector& Firebird::Arg::StatusVector::operator<<(const Firebird::MetaString&)’, inlined from ‘virtual void Jrd::CreateAlterRoleNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26503:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:216:42: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 216 | implementation->shiftLeft(text); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CreateAlterRoleNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26492:71: note: unnamed temporary defined here 26492 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘Firebird::Arg::StatusVector& Firebird::Arg::StatusVector::operator<<(const Firebird::MetaString&)’, inlined from ‘virtual void Jrd::CreateAlterRoleNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26530:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/StatusArg.h:216:42: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 216 | implementation->shiftLeft(text); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CreateAlterRoleNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26492:71: note: unnamed temporary defined here 26492 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26500:21: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 26500 | if (name == ownerName) | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:26492:71: note: unnamed temporary defined here 26492 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘virtual void Jrd::CreateCollationNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:16767:9: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CreateCollationNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:16743:71: note: unnamed temporary defined here 16743 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void Jrd::CreateAlterProcedureNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:14908:12: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::CreateAlterProcedureNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:14850:71: note: unnamed temporary defined here 14850 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘void Jrd::CreateAlterFunctionNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:13418:12: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘void Jrd::CreateAlterFunctionNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:13356:71: note: unnamed temporary defined here 13356 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function ‘const char* Firebird::MetaString::c_str() const’, inlined from ‘static SSHORT Jrd::CreateAlterSequenceNode::store(Jrd::thread_db*, Jrd::jrd_tra*, const Jrd::MetaName&, fb_sysflag, SINT64, SLONG)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:19609:11: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:79:44: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 79 | const char* c_str() const { return data; } | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In static member function ‘static SSHORT Jrd::CreateAlterSequenceNode::store(Jrd::thread_db*, Jrd::jrd_tra*, const Jrd::MetaName&, fb_sysflag, SINT64, SLONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:19577:71: note: unnamed temporary defined here 19577 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.o In function ‘void Jrd::checkRelationTempScope(thread_db*, jrd_tra*, const MetaName&, rel_t)’, inlined from ‘virtual void Jrd::CreateRelationNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:21741:24: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:11276:34: warning: ‘masterType’ may be used uninitialized [-Wmaybe-uninitialized] 11276 | checkRelationType(masterType, masterRelName); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CreateRelationNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:11239:15: note: ‘masterType’ was declared here 11239 | rel_t masterType; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:21834:9: warning: ‘replicationEnabled’ may be used uninitialized [-Wmaybe-uninitialized] 21834 | if (replicationEnabled) | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:21803:14: note: ‘replicationEnabled’ was declared here 21803 | bool replicationEnabled; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/types/struct_iovec.h:23, from /usr/include/bits/fcntl-linux.h:38, from /usr/include/bits/fcntl.h:61, from /usr/include/fcntl.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp:44: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In function ‘UCHAR* {anonymous}::get_block(BurpGlobals*, UCHAR*, ULONG)’, inlined from ‘void {anonymous}::get_data(BurpGlobals*, burp_rel*, Burp::WriteRelationReq*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:9007:15: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:5118:31: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized] 5118 | return MVOL_read_block(tdgbl, p, n); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘void {anonymous}::get_data(BurpGlobals*, burp_rel*, Burp::WriteRelationReq*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:8977:40: note: ‘p’ was declared here 8977 | UCHAR* p; | ^ In function ‘void {anonymous}::get_array(BurpGlobals*, burp_rel*, UCHAR*)’, inlined from ‘void {anonymous}::get_data(BurpGlobals*, burp_rel*, Burp::WriteRelationReq*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:9043:16: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:7394:59: warning: ‘end_ranges’ may be used uninitialized [-Wmaybe-uninitialized] 7394 | for (range = fld_ranges, count = 0; range < end_ranges; range += 2, count++) | ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘void {anonymous}::get_data(BurpGlobals*, burp_rel*, Burp::WriteRelationReq*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:7000:22: note: ‘end_ranges’ was declared here 7000 | const SLONG* end_ranges; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp: In function ‘int gstat(Firebird::UtilSvc*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp:976:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 976 | } while (page = header->hdr_next_page); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp:115:4: warning: ‘SQLCODE’ defined but not used [-Wunused-variable] 115 | SQLCODE; /* SQL status code */ | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp:114:4: warning: ‘isc_array_length’ defined but not used [-Wunused-variable] 114 | isc_array_length, /* array return size */ | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp:112:4: warning: ‘isc_status2’ defined but not used [-Wunused-variable] 112 | isc_status2 [20]; /* status vector */ | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp:111:4: warning: ‘isc_status’ defined but not used [-Wunused-variable] 111 | isc_status [20], /* status vector */ | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp:109:4: warning: ‘gds_trans’ defined but not used [-Wunused-variable] 109 | gds_trans = 0; /* default transaction handle */ | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.cpp:106:4: warning: ‘DB’ defined but not used [-Wunused-variable] 106 | DB = 0; /* database handle */ | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘bool {anonymous}::get_acl(BurpGlobals*, const TEXT*, ISC_QUAD*, ISC_QUAD*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:6883:22: warning: ‘max_segment’ may be used uninitialized [-Wmaybe-uninitialized] 6883 | if (length < max_segment) | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:6825:16: note: ‘max_segment’ was declared here 6825 | USHORT max_segment; | ^~~~~~~~~~~ In member function ‘int Firebird::MetaString::compare(const char*) const’, inlined from ‘bool Firebird::MetaString::operator!=(const char*) const’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:96:55, inlined from ‘virtual void Jrd::CreateAlterViewNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:24380:17: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/MetaString.h:91:58: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 91 | int compare(const char* s) const { return compare(s, s ? fb_strlen(s) : 0); } | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp: In member function ‘virtual void Jrd::CreateAlterViewNode::execute(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.cpp:24124:71: note: unnamed temporary defined here 24124 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In function ‘bool {anonymous}::get_trigger_old(BurpGlobals*, burp_rel*)’, inlined from ‘bool {anonymous}::get_relation_data(BurpGlobals*, Firebird::Coordinator*, Burp::RestoreRelationTask*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:16148:20: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:17208:17: warning: ‘type’ may be used uninitialized [-Wmaybe-uninitialized] 17208 | switch (type) | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp: In function ‘bool {anonymous}::get_relation_data(BurpGlobals*, Firebird::Coordinator*, Burp::RestoreRelationTask*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.cpp:17133:25: note: ‘type’ was declared here 17133 | enum trig_t type; | ^~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libEngine13.so -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libEngine13.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Attachment.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/BlobUtil.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Coercion.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Collation.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ConfigTable.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/CryptoManager.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/DataTypeUtil.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Database.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/DbCreators.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/DebugInterface.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ExtEngineManager.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Function.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/GarbageCollector.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/GlobalRWLock.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/InitCDSLib.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/IntlManager.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/KeywordsTable.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Mapping.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/MetaName.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Monitoring.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/PreparedStatement.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ProfilerManager.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/RandomGenerator.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/RecordBuffer.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/RecordSourceNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Relation.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ResultSet.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Routine.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/RuntimeStatistics.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Savepoint.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/Statement.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/SysFunction.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/SystemPackages.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/TempSpace.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/TimeZone.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/UserManagement.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/VirtualTable.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/WorkerAttachment.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/blb.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/blob_filter.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/btn.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/btr.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/builtin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/cch.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/cmp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/cvt.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/cvt2.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dfw.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dpm.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/dyn_util.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/err.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/event.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/evl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/exe.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ext.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/filters.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/flu.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/fun.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/grant.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/idx.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/inf.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ini.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/intl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/intl_builtin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/jrd.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/lck.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/met.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/mov.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/nbak.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/nodebug.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ods.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/pag.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/par.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/rlck.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/rpb_chain.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/scl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/sdw.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/shut.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/sort.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/sqz.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/svc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/tpc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/tra.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/validation.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/vio.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/os/posix/unix.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/AggNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/BlrDebugWriter.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/BoolNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DSqlDataTypeUtil.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DdlNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlBatch.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlCompilerScratch.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlCursor.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlRequests.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlStatementCache.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/DsqlStatements.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/ExprNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/Keywords.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/PackageNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/Parser.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/StmtNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/WinNodes.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/ddl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/dsql.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/errd.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/gen.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/make.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/metd.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/movd.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/parse.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/pass1.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/dsql/utld.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/extds/ExtDS.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/extds/InternalDS.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/extds/IscDS.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/extds/ValidatePassword.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/optimizer/InnerJoin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/optimizer/Optimizer.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/optimizer/Retrieval.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/AggregatedStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/BitmapTableScan.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/BufferedStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/ConditionalStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/Cursor.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/ExternalTableScan.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/FilteredStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/FirstRowsStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/FullOuterJoin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/FullTableScan.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/HashJoin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/IndexTableScan.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/LocalTableStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/LockedStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/MergeJoin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/NestedLoopJoin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/ProcedureScan.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/RecordSource.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/RecursiveStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/SingularStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/SkipRowsStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/SortedStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/Union.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/VirtualTableScan.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/recsrc/WindowedStream.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Applier.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/ChangeLog.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Config.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Manager.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Publisher.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Replicator.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Utils.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceCmdLine.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceConfigStorage.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceLog.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceManager.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceObjects.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceService.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/lock/lock.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/exe.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/tdr.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/BurpTasks.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/OdsDetection.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/burp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/canonical.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/misc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/mvol.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gsec/gsec.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/ppg.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/nbackup/nbackup.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -ltommath -lre2 -lcds -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make fbintl make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_big5.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_big5.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_gb2312.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_gb2312.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_icu.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_icu.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_jis.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_jis.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_ksc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_ksc.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_narrow.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_narrow.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_unicode_fss.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_unicode_fss.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_unicode_ucs2.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_unicode_ucs2.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cv_big5.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_big5.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cs_narrow.cpp:377: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/../intl/charsets/cs_koi8u.h: In function ‘INTL_BOOL CS_koi8u(charset*, const ASCII*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/../intl/charsets/cs_koi8u.h:10:18: warning: unused variable ‘UNICODE_REPLACEMENT_CHARACTER’ [-Wunused-variable] 10 | static const int UNICODE_REPLACEMENT_CHARACTER = 0xFFFD; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cv_gb2312.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_gb2312.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cv_icu.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_icu.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cv_jis.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_jis.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cv_ksc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_ksc.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cv_narrow.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_narrow.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/cv_unicode_fss.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_unicode_fss.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/kanji.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/kanji.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_ascii.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_ascii.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_big5.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_big5.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_dos.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_dos.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_gb2312.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_gb2312.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_icu.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_icu.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_iso8859_1.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_iso8859_1.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_iso8859_13.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_iso8859_13.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_iso8859_2.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_iso8859_2.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_jis.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_jis.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_ksc.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_ksc.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_narrow.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_narrow.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/lc_unicode_ucs2.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_unicode_ucs2.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/intl/ld.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/ld.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbintl.vers -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,libfbintl.so.1 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/intl/libfbintl.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_big5.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_gb2312.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_icu.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_jis.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_ksc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_narrow.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_unicode_fss.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cs_unicode_ucs2.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_big5.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_gb2312.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_icu.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_jis.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_ksc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_narrow.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/cv_unicode_fss.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/kanji.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_ascii.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_big5.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_dos.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_gb2312.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_icu.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_iso8859_1.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_iso8859_13.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_iso8859_2.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_jis.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_ksc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_narrow.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/lc_unicode_ucs2.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/intl/ld.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make utilities make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/ReplServer.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/server/ReplServer.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/server/server.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/os/posix/inet_server.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/server/os/posix/inet_server.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/server/SrpServer.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/server/SrpServer.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/ReplServer.cpp:29: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ParsedList.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/ReplServer.cpp:37: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/replication/ChangeLog.h:84:82: warning: ‘offsetof’ within non-standard-layout type ‘Replication::ChangeLog::State’ is conditionally-supported [-Winvalid-offsetof] 84 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remot_proto.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/SecureRemotePassword/srp.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/server/SrpServer.cpp:31: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/os/posix/inet_server.cpp:81: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:54, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:39: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h: In member function ‘bool rem_port::releasePort()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:1559:28: warning: unused variable ‘locked’ [-Wunused-variable] 1559 | const bool locked = portGuard.tryEnter(); | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h: In member function ‘bool rem_port::releasePort()’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:1559:28: warning: unused variable ‘locked’ [-Wunused-variable] 1559 | const bool locked = portGuard.tryEnter(); | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/os/posix/inet_server.cpp:41: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:504:16: required from here 504 | fmt_desc.grow(rpt); | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:486: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In function ‘ISC_STATUS allocate_statement(rem_port*, PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:2307:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2307 | if (statement->rsr_id = port->get_id(statement)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In function ‘USHORT check_statement_type(Rsr*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:2835:14: warning: unused variable ‘done’ [-Wunused-variable] 2835 | bool done = false; | ^~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In member function ‘ISC_STATUS rem_port::compile(P_CMPL*, PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:2925:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2925 | if (requestL->rrq_id = this->get_id(requestL)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In member function ‘void rem_port::disconnect(PACKET*, PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3062:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3062 | while (transaction = rdb->rdb_transactions) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In member function ‘ISC_STATUS rem_port::end_transaction(P_OP, P_RLSE*, PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_void’ not handled in switch [-Wswitch] 3411 | switch (operation) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_connect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_exit’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_accept’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_reject’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_disconnect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_response’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_attach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_create’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_detach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_compile’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_start_and_send’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_send’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_receive’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_unwind’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_release’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_reconnect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_create_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_open_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_get_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_put_segment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_cancel_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_close_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_info_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_info_request’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_info_transaction’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_info_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_segments’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_que_events’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_cancel_events’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_prepare2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_event’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_connect_request’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_aux_connect’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_ddl’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_open_blob2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_create_blob2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_get_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_put_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_slice’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_seek_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_allocate_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_execute’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_exec_immediate’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_fetch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_fetch_response’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_free_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_prepare_statement’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_set_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_info_sql’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_dummy’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_response_piggyback’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_start_and_receive’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_start_send_and_receive’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_exec_immediate2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_execute2’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_insert’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_sql_response’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_transact’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_transact_response’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_drop_database’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_service_attach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_service_detach’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_service_info’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_service_start’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_update_account_info’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_authenticate_user’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_partial’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_trusted_auth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_cancel’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_cont_auth’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_ping’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_accept_data’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_abort_aux_connection’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_crypt’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_crypt_key_callback’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_cond_accept’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_create’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_msg’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_exec’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_rls’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_cs’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_regblob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_blob_stream’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_set_bpb’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_repl_data’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_repl_req’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_cancel’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_batch_sync’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_info_batch’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_fetch_scroll’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_info_cursor’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_inline_blob’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3411:16: warning: enumeration value ‘op_max’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In member function ‘ISC_STATUS rem_port::fetch(P_SQLDATA*, PACKET*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:4152:35: warning: unused variable ‘rc’ [-Wunused-variable] 4152 | const int rc = cursor->fetchRelative(&status_vector, adjustment, message->msg_buffer); | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In function ‘Rtr* make_transaction(Rdb*, Firebird::ITransaction*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:4775:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4775 | if (transaction->rtr_id = rdb->rdb_port->get_id(transaction)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In member function ‘ISC_STATUS rem_port::open_blob(P_OP, P_BLOB*, PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:4862:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4862 | if (blob->rbl_id = this->get_id(blob)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In function ‘bool continue_authentication(rem_port*, PACKET*, PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:5406:66: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5406 | receive->p_operation == op_trusted_auth && port->port_protocol >= PROTOCOL_VERSION13 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:5407:63: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5407 | receive->p_operation == op_cont_auth && port->port_protocol < PROTOCOL_VERSION13) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In function ‘void zap_packet(PACKET*, bool)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:7231:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘PACKET’ {aka ‘struct packet’}; use assignment or value-initialization instead [-Wclass-memaccess] 7231 | memset(packet, 0, sizeof(PACKET)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../remote/remote_def.h:43, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../remote/../remote/protocol.h:787:16: note: ‘PACKET’ {aka ‘struct packet’} declared here 787 | typedef struct packet | ^~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:7239:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘PACKET’ {aka ‘struct packet’}; use assignment or value-initialization instead [-Wclass-memaccess] 7239 | memset(packet, 0, sizeof(PACKET)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../remote/../remote/protocol.h:787:16: note: ‘PACKET’ {aka ‘struct packet’} declared here 787 | typedef struct packet | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:36: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = dsc; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:504:16: required from here 504 | fmt_desc.grow(rpt); | ~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct dsc’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:486: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/dsc.h:85:16: note: ‘struct dsc’ declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h: In instantiation of ‘void Firebird::Array::grow(size_type) [with T = RemoteObject; Storage = Firebird::EmptyStorage; size_type = unsigned int]’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:1520:21: required from ‘OBJCT rem_port::setHandle(T*, OBJCT) [with T = Rsr; OBJCT = short unsigned int]’ 1520 | port_objects.grow(id + 1); | ~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:1543:34: required from ‘OBJCT rem_port::get_id(T*) [with T = Rsr; OBJCT = short unsigned int]’ 1543 | port_last_object_id = setHandle(object, static_cast(i)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:2307:38: required from here 2307 | if (statement->rsr_id = port->get_id(statement)) | ~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class RemoteObject’; use assignment or value-initialization instead [-Wclass-memaccess] 317 | memset(data + count, 0, sizeof(T) * (newCount - count)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remote.h:796:7: note: ‘class RemoteObject’ declared here 796 | class RemoteObject | ^~~~~~~~~~~~ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/BigInteger.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/SecureRemotePassword/srp.h:1: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IServerImpl<{anonymous}::SrpServer, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IServerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::SrpServer; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IAuthImpl<{anonymous}::SrpServer, Firebird::CheckStatusWrapper, Firebird::Inherit > > > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/./IdlFbInterfaces.h:13324:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IServerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::SrpServer; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IAuthImpl<{anonymous}::SrpServer, Firebird::CheckStatusWrapper, Firebird::Inherit > > > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecDbCache.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecDbCache.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/print.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/lock/print.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ClumpletReader.h:32: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IFirebirdConfImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:8530:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IFirebirdConfBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::FirebirdConf; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IEventCallbackImpl<{anonymous}::Callback, Firebird::CheckStatusWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IEventCallbackBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::Callback; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::Callback, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:9214:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IEventCallbackBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::Callback; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl<{anonymous}::Callback, Firebird::CheckStatusWrapper, Firebird::Inherit > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/pag.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/print.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/lock/../jrd/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/../auth/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/../auth/SecDbCache.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecDbCache.cpp:29: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITimerImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/../auth/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::CachedSecurityDatabase; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:16066:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::CachedSecurityDatabase; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/guard/guard.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/guard/guard.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/guard/util.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/guard/util.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In member function ‘bool rem_port::sendInlineBlob(PACKET*, Rtr*, SQUAD, ULONG)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:6124:17: warning: ‘segmented’ may be used uninitialized [-Wmaybe-uninitialized] 6124 | if (!segmented) | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:6089:17: note: ‘segmented’ was declared here 6089 | bool segmented; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:6125:38: warning: ‘max_segment’ may be used uninitialized [-Wmaybe-uninitialized] 6125 | num_segments = (total_length + max_segment - 1) / max_segment; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:6091:17: note: ‘max_segment’ was declared here 6091 | ULONG max_segment; | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:6122:9: warning: ‘total_length’ may be used uninitialized [-Wmaybe-uninitialized] 6122 | if (total_length) | ^~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:6092:17: note: ‘total_length’ was declared here 6092 | ULONG total_length; | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:6127:67: warning: ‘num_segments’ may be used uninitialized [-Wmaybe-uninitialized] 6127 | const ULONG dataLen = total_length + num_segments * 2; | ~~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:6090:17: note: ‘num_segments’ was declared here 6090 | ULONG num_segments; | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/guard/guard.cpp: In function ‘int main(int, char**)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/guard/guard.cpp:258:17: warning: ‘ret_code’ may be used uninitialized [-Wmaybe-uninitialized] 258 | if (ret_code != NORMAL_EXIT) | ^~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/fbsvcmgr/fbsvcmgr.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/fbsvcmgr/fbsvcmgr.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/guard/guard.cpp:186:21: note: ‘ret_code’ was declared here 186 | int ret_code; | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/fbtracemgr/traceMgrMain.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/fbtracemgr/traceMgrMain.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/main/burpMain.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/main/burpMain.o In member function ‘T* Firebird::Array::remove(size_type) [with T = Rsr*; Storage = Firebird::EmptyStorage]’, inlined from ‘ISC_STATUS rem_port::end_statement(P_SQLFREE*, PACKET*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3353:42: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/array.h:272:32: warning: ‘pos’ may be used uninitialized [-Wmaybe-uninitialized] 272 | memmove(data + index, data + index + 1, sizeof(T) * (--count - index)); | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp: In member function ‘ISC_STATUS rem_port::end_statement(P_SQLFREE*, PACKET*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:3350:35: note: ‘pos’ was declared here 3350 | FB_SIZE_T pos; | ^~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/alice/main/aliceMain.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/main/aliceMain.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/gsec/main/gsecMain.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gsec/main/gsecMain.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/split/spit.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/split/spit.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/gstat/main/gstatMain.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/main/gstatMain.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/ColList.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/ColList.o In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/burp/split/spit.cpp:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../burp/burpswi.h:237:20: warning: ‘burp_repl_mode_sw_table’ defined but not used [-Wunused-variable] 237 | static const char* burp_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/Extender.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/Extender.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/InputDevices.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/InputDevices.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/OptionsBase.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/OptionsBase.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/extract.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/extract.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/isql.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/iutils.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/iutils.o In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘DecrementRequestsQueued::~DecrementRequestsQueued()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:5021:3, inlined from ‘bool process_packet(rem_port*, PACKET*, PACKET*, rem_port**)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:5384:1: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In function ‘bool process_packet(rem_port*, PACKET*, PACKET*, rem_port**)’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘DecrementRequestsQueued::~DecrementRequestsQueued()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:5021:3, inlined from ‘bool process_packet(rem_port*, PACKET*, PACKET*, rem_port**)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/remote/server/server.cpp:5384:1: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] In function ‘bool process_packet(rem_port*, PACKET*, PACKET*, rem_port**)’: cc1plus: note: destination object is likely at address zero In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/iutils.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/isql.h:215:20: warning: ‘UDF_param_types’ defined but not used [-Wunused-variable] 215 | static const char* UDF_param_types[] = { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/isql.h:191:21: warning: ‘Sub_types’ defined but not used [-Wunused-variable] 191 | static const SCHAR* Sub_types[] = { | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/isql.h:182:21: warning: ‘Varying_subtypes’ defined but not used [-Wunused-variable] 182 | static const SCHAR* Varying_subtypes[] = { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/isql.h:173:21: warning: ‘Text_subtypes’ defined but not used [-Wunused-variable] 173 | static const SCHAR* Text_subtypes[] = { | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/isql.h:163:21: warning: ‘Integral_subtypes’ defined but not used [-Wunused-variable] 163 | static const SCHAR* Integral_subtypes[] = { | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/isql/show.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/show.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/nbackup/main/nbkMain.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/nbackup/main/nbkMain.o make ibutil make[4]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/lock/print.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/fb_lock_print -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/guard/guard.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/guard/util.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/fbguard -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/fbsvcmgr/fbsvcmgr.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/fbsvcmgr -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/fbtracemgr/traceMgrMain.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/trace/TraceCmdLine.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/fbtracemgr -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/BurpTasks.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/OdsDetection.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/backup.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/burp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/canonical.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/misc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/mvol.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/restore.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/main/burpMain.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gbak -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/alice_meta.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/exe.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/tdr.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/alice/main/aliceMain.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gfix -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/extlib/ib_util.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/extlib/ib_util.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gsec/gsec.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gsec/main/gsecMain.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gsec -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/burp/split/spit.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gsplit -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/dba.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/ppg.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/gstat/main/gstatMain.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/btn.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ods.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gstat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/extract.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/extract.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,ib_util.vers -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,libib_util.so -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib/libib_util.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/extlib/ib_util.o make[4]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/show.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/show.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/nbackup/nbackup.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/nbackup/main/nbkMain.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/ods.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/nbackup -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/inet.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/merge.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/parser.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/protocol.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/remote.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/srp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/server/ReplServer.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/server/server.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/remote/server/os/posix/inet_server.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/server/SrpServer.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Config.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/jrd/replication/Utils.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecDbCache.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/firebird -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/show_proto.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/extract.cpp:61: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/show.cpp:52: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:55: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp: In function ‘bool ISQL_statement_ends_in_comment(const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:2806:40: warning: enumeration value ‘in_single_line_comment’ not handled in switch [-Wswitch] 2806 | switch (state) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:2806:40: warning: enumeration value ‘in_block_comment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:2806:40: warning: enumeration value ‘in_double_quoted_string’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:2844:40: warning: enumeration value ‘in_single_line_comment’ not handled in switch [-Wswitch] 2844 | switch (state) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:2844:40: warning: enumeration value ‘in_block_comment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:2844:40: warning: enumeration value ‘in_single_quoted_string’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/extract.cpp:58: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/isql.h:182:21: warning: ‘Varying_subtypes’ defined but not used [-Wunused-variable] 182 | static const SCHAR* Varying_subtypes[] = { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/isql.h:173:21: warning: ‘Text_subtypes’ defined but not used [-Wunused-variable] 173 | static const SCHAR* Text_subtypes[] = { | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp: In function ‘processing_state add_row(TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:3962:21: warning: unused variable ‘i’ [-Wunused-variable] 3962 | int i = 0; | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:4055:36: warning: unused variable ‘nullable’ [-Wunused-variable] 4055 | const bool nullable = msg->isNullable(fbStatus, i); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp: In function ‘processing_state bulk_insert_hack(const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:4799:36: warning: unused variable ‘nullable’ [-Wunused-variable] 4799 | const bool nullable = message->isNullable(fbStatus, i); | ^~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:4784:38: warning: unused variable ‘textFieldIter’ [-Wunused-variable] 4784 | for (unsigned i = 0, textFieldIter = 0; i < n_cols && !done; ++i) | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp: In function ‘processing_state create_db(const TEXT*, TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:5826:22: warning: unused variable ‘quote’ [-Wunused-variable] 5826 | TEXT quote = DBL_QUOTE; | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:5827:29: warning: unused variable ‘p’ [-Wunused-variable] 5827 | const TEXT* p = NULL; | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp: In function ‘processing_state get_statement(Firebird::string&, const TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:7583:32: warning: enumeration value ‘in_single_line_comment’ not handled in switch [-Wswitch] 7583 | switch (state) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:7583:32: warning: enumeration value ‘in_block_comment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:7583:32: warning: enumeration value ‘in_double_quoted_string’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:7621:32: warning: enumeration value ‘in_single_line_comment’ not handled in switch [-Wswitch] 7621 | switch (state) | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:7621:32: warning: enumeration value ‘in_block_comment’ not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:7621:32: warning: enumeration value ‘in_single_quoted_string’ not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/show.cpp:51: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/isql.h:182:21: warning: ‘Varying_subtypes’ defined but not used [-Wunused-variable] 182 | static const SCHAR* Varying_subtypes[] = { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/isql.h:173:21: warning: ‘Text_subtypes’ defined but not used [-Wunused-variable] 173 | static const SCHAR* Text_subtypes[] = { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:111: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/isql.h: At global scope: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/isql.h:215:20: warning: ‘UDF_param_types’ defined but not used [-Wunused-variable] 215 | static const char* UDF_param_types[] = { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../isql/isql.h:191:21: warning: ‘Sub_types’ defined but not used [-Wunused-variable] 191 | static const SCHAR* Sub_types[] = { | ^~~~~~~~~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:54: In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘void print_item_numeric(SINT64, int, int, TEXT*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:9948:9, inlined from ‘unsigned int print_item(TEXT**, const IsqlVar*, unsigned int)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:9397:23, inlined from ‘processing_state print_line(Firebird::IMessageMetadata*, UCHAR*, const unsigned int*, TEXT*)’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:10017:30: /usr/include/bits/stdio2.h:30:34: warning: ‘value’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp: In function ‘processing_state print_line(Firebird::IMessageMetadata*, UCHAR*, const unsigned int*, TEXT*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:9381:40: note: ‘value’ was declared here 9381 | SINT64 value; | ^~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp: In member function ‘void PerTableStats::printStats(Firebird::IAttachment*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:11465:61: warning: ‘lenName’ may be used uninitialized [-Wmaybe-uninitialized] 11465 | FB_SIZE_T pos = lenName + 1 + (lenValue + 1) * i; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.cpp:11430:19: note: ‘lenName’ was declared here 11430 | FB_SIZE_T lenName; | ^~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/ColList.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/Extender.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/InputDevices.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/OptionsBase.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/extract.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/isql.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/iutils.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/isql/show.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/isql -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -ledit -latomic -lm -ldecFloat make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make gpre make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' rm -f metadata.fdb echo create database \'metadata.fdb\'\; | /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/isql -sqldialect 1 can't format message 17:3 -- message file /var/lib/firebird/system/firebird.msg not found rm -f security.fdb rm -f security.tmp echo create database \'security.tmp\'\; | /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/isql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/gpre/std/gpre_meta.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp can't format message 17:3 -- message file /var/lib/firebird/system/firebird.msg not found gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gfix -mode read_only metadata.fdb /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gfix -write async security.tmp chmod 0444 metadata.fdb rm -f yachts.lnk ln -s metadata.fdb yachts.lnk /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/isql -i /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/dbs/security.sql security.tmp chmod a=rw security.tmp cp security.tmp security.fdb /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gfix -write sync security.fdb rm -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/security5.fdb cp security.fdb /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/security5.fdb In file included from /usr/include/wchar.h:35, from /usr/include/c++/14/cwchar:44, from /usr/include/c++/14/bits/postypes.h:40, from /usr/include/c++/14/iosfwd:42, from /usr/include/c++/14/bits/shared_ptr.h:52, from /usr/include/c++/14/memory:80, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:60, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp:40: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../gpre/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp: In function ‘void MET_fini(gpre_dbb*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp:2695:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2695 | if (DB = database->dbb_handle) | ~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp:2697:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2697 | if (gds_trans = database->dbb_transaction) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp: In function ‘gpre_rel* MET_get_view_relation(gpre_req*, const char*, const char*, USHORT)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp:3277:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3277 | if (relation = | ~~~~~~~~~^ 3278 | MET_get_view_relation(request, /*X.RDB$RELATION_NAME*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3279 | isc_136.isc_139, relation_or_alias, level + 1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp: In function ‘void MET_load_hash_table(gpre_dbb*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp:3647:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3647 | if (length = fb_utils::name_length(/*FUN.RDB$QUERY_NAME*/ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3648 | isc_97.isc_107)) | ~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp: In function ‘void get_array(gpre_dbb*, const TEXT*, gpre_fld*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.cpp:4242:16: warning: variable ‘field_dimensions’ set but not used [-Wunused-but-set-variable] 4242 | USHORT field_dimensions = 0; | ^~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/c_cxx.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cmd.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cme.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/cmp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/exp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/gpre.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/hsh.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/int_cxx.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/jrdmet.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/movg.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/msc.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/obj_cxx.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/par.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/pat.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/sqe.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/sql.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/gpre/std/gpre_meta.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' rm -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current (cd /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin; ln -s gpre gpre_current) make plugins make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/udr_engine/UdrEngine.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/plugins/udr_engine/UdrEngine.o cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/udr_engine/udr_engine.conf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/udr_engine.conf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecurityDatabase/LegacyManagement.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecurityDatabase/LegacyServer.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyServer.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/PluginLogWriter.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/PluginLogWriter.o Version(s) for database "security.fdb" Firebird/Linux/ARM64 (access method), version "LI-V5.0.4.1812 Firebird 5.0" on disk structure version 13.1 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/TraceConfiguration.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/TraceConfiguration.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/PluginLogWriter.cpp: In member function ‘void PluginLogWriter::checkErrno(const char*)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/PluginLogWriter.cpp:257:19: warning: ignoring return value of ‘char* strerror_r(int, char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 257 | strerror_r(errno, buff, sizeof(buff)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remot_proto.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecurityDatabase/LegacyServer.cpp:35: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/isc_s_proto.h:32, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/PluginLogWriter.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/PluginLogWriter.cpp:28: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITimerImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::TimerImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:16066:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITimerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::TimerImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITraceLogWriterImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITraceLogWriterBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = PluginLogWriter; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:18993:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITraceLogWriterBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = PluginLogWriter; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/TracePluginImpl.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/TracePluginImpl.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/utils_proto.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/SecurityDatabase/LegacyHash.h:30, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecurityDatabase/LegacyServer.cpp:33: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IServerImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IServerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::SecurityDatabaseServer; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IAuthImpl > > > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:13324:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IServerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::SecurityDatabaseServer; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IAuthImpl > > > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/traceplugin.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/traceplugin.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/udr_engine/UdrEngine.cpp:26: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IExternalEngineImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IExternalEngineBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::Udr::Engine; StatusType = Firebird::ThrowStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:15985:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IExternalEngineBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Firebird::Udr::Engine; StatusType = Firebird::ThrowStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/os/posix/platform.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/os/posix/platform.o In file included from /usr/include/bits/types/struct_iovec.h:23, from /usr/include/bits/fcntl-linux.h:38, from /usr/include/bits/fcntl.h:61, from /usr/include/fcntl.h:35, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/PluginLogWriter.h:46, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/TracePluginImpl.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/extlib/UdfBackwardCompatibility.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/extlib/UdfBackwardCompatibility.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/traceplugin.cpp:30: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITraceFactoryImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITraceFactoryBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = TraceFactoryImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:19691:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITraceFactoryBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = TraceFactoryImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/extlib/UdfBackwardCompatibility.sql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/udr/udf_compat.sql g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/crypt/chacha/ChaCha.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/plugins/crypt/chacha/ChaCha.o In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/TracePluginConfig.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/TracePluginImpl.h:34, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/TracePluginImpl.cpp:32: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::ITracePluginImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/utilities/ntrace/../../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::ITracePluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = TracePluginImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:19547:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::ITracePluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = TracePluginImpl; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IReferenceCountedImpl > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/crypt/chacha/ChaCha.cpp:29: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IWireCryptPluginImpl<{anonymous}::ChaCha<8>, Firebird::CheckStatusWrapper, Firebird::IPluginBaseImpl<{anonymous}::ChaCha<8>, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit > > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IWireCryptPluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ChaCha<8>; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl<{anonymous}::ChaCha<8>, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:14606:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IWireCryptPluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ChaCha<8>; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl<{anonymous}::ChaCha<8>, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit > > > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IWireCryptPluginImpl<{anonymous}::ChaCha<16>, Firebird::CheckStatusWrapper, Firebird::IPluginBaseImpl<{anonymous}::ChaCha<16>, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit > > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IWireCryptPluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ChaCha<16>; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl<{anonymous}::ChaCha<16>, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:14606:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IWireCryptPluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ChaCha<16>; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl<{anonymous}::ChaCha<16>, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit, Firebird::CheckStatusWrapper, Firebird::Inherit > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/profiler/Profiler.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/plugins/profiler/Profiler.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libLegacy_Auth.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libLegacy_Auth.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyServer.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecDbCache.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt\ g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/manage/SrpManagement.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/manage/SrpManagement.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp:73:4: warning: ‘SQLCODE’ defined but not used [-Wunused-variable] 73 | SQLCODE; /* SQL status code */ | ^~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp:72:4: warning: ‘isc_array_length’ defined but not used [-Wunused-variable] 72 | isc_array_length, /* array return size */ | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp:70:4: warning: ‘isc_status2’ defined but not used [-Wunused-variable] 70 | isc_status2 [20]; /* status vector */ | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp:69:4: warning: ‘isc_status’ defined but not used [-Wunused-variable] 69 | isc_status [20], /* status vector */ | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp:67:4: warning: ‘gds_trans’ defined but not used [-Wunused-variable] 67 | gds_trans = 0; /* default transaction handle */ | ^~~~~~~~~ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp:64:4: warning: ‘database’ defined but not used [-Wunused-variable] 64 | database = 0; /* database handle */ | ^~~~~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/ios:43, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/../../extern/ttmath/ttmath.h:59, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/Int128.h:363, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/plugins/profiler/Profiler.cpp:25: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../jrd/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,libudf_compat.so \ -Wl,--version-script,udr_plugin.vers -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/udr/libudf_compat.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/extlib/UdfBackwardCompatibility.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libChaCha.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libChaCha.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/plugins/crypt/chacha/ChaCha.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt\ In file included from /usr/include/locale.h:28, from /usr/include/c++/14/clocale:42, from /usr/include/c++/14/aarch64-redhat-linux/bits/c++locale.h:41, from /usr/include/c++/14/bits/localefwd.h:40, from /usr/include/c++/14/streambuf:42, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/remot_proto.h:28, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../auth/SecureRemotePassword/srp.h:14, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/manage/SrpManagement.cpp:33: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:383:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 383 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:384:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 384 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:385:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 385 | static_assert(offsetof(struct irt_repeat, irt_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:386:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 386 | static_assert(offsetof(struct irt_repeat, irt_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:387:32: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page::irt_repeat’ is conditionally-supported [-Winvalid-offsetof] 387 | static_assert(offsetof(struct irt_repeat, irt_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:391:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 391 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:392:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 392 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:393:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 393 | static_assert(offsetof(struct index_root_page, irt_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../remote/../common/../common/../jrd/ods.h:394:24: warning: ‘offsetof’ within non-standard-layout type ‘Ods::index_root_page’ is conditionally-supported [-Winvalid-offsetof] 394 | static_assert(offsetof(struct index_root_page, irt_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libudr_engine.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libudr_engine.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/plugins/udr_engine/UdrEngine.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt\ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libfbtrace.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libfbtrace.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/PluginLogWriter.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/TraceConfiguration.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/TracePluginImpl.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/traceplugin.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/utilities/ntrace/os/posix/platform.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -lre2 -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/auth/SecureRemotePassword/manage/SrpManagement.cpp:29: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IManagementImpl]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IManagementBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::SrpManagement; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h:14277:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IManagementBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = Auth::SrpManagement; StatusType = Firebird::CheckStatusWrapper; Base = Firebird::IPluginBaseImpl > > > > >]’: cc1plus: note: destination object is likely at address zero In file included from /usr/include/c++/14/atomic:50, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/alloc.h:49, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/Int128.h:37: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::fetch_sub(__int_type, std::memory_order) [with _ITp = long int]’, inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--(int) [with _ITp = long int]’ at /usr/include/c++/14/bits/atomic_base.h:390:25, inlined from ‘Firebird::AtomicCounter::counter_type Firebird::AtomicCounter::operator--()’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/fb_atomic.h:138:17, inlined from ‘int Firebird::RefCntIface::release() [with C = Firebird::IProfilerPluginImpl<{anonymous}::ProfilerPlugin, Firebird::ThrowStatusExceptionWrapper>]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/../common/classes/ImplementHelper.h:117:12, inlined from ‘static int Firebird::IProfilerPluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ProfilerPlugin; StatusType = Firebird::ThrowStatusExceptionWrapper; Base = Firebird::IPluginBaseImpl<{anonymous}::ProfilerPlugin, Firebird::ThrowStatusExceptionWrapper, Firebird::Inherit > > > > >]’ at /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/./IdlFbInterfaces.h:21040:51: /usr/include/c++/14/bits/atomic_base.h:641:34: warning: ‘long unsigned int __atomic_sub_fetch_8(volatile void*, long unsigned int, int)’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 641 | { return __atomic_fetch_sub(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IProfilerPluginBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ProfilerPlugin; StatusType = Firebird::ThrowStatusExceptionWrapper; Base = Firebird::IPluginBaseImpl<{anonymous}::ProfilerPlugin, Firebird::ThrowStatusExceptionWrapper, Firebird::Inherit > > > > >]’: cc1plus: note: destination object is likely at address zero g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libLegacy_UserManager.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libLegacy_UserManager.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecurityDatabase/LegacyManagement.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt\ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libSrp.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libSrp.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/manage/SrpManagement.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/auth/SecureRemotePassword/srp.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt\ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libDefault_Profiler.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libDefault_Profiler.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/plugins/profiler/Profiler.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt\ make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make examples make[3]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/ibase.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/ibase.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/FirebirdInterface.idl /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/FirebirdInterface.idl mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/TimeZones.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/TimeZones.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/Interface.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/Interface.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/ib_util.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/ib_util.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/iberror.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/iberror.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/IdlFbInterfaces.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/IdlFbInterfaces.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/UdrCppEngine.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/UdrCppEngine.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/consts_pub.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/consts_pub.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/dmc cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/repetition/for.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/for.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/repetition/detail/dmc/for.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/dmc/for.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/edg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/repetition/detail/for.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/for.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/msvc cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/repetition/detail/edg/for.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/edg/for.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/repetition/detail/msvc/for.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/msvc/for.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/tuple/rem.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple/rem.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/tuple/eat.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple/eat.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/config cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/tuple/elem.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple/elem.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/arithmetic cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/config/config.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/config/config.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/arithmetic cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/arithmetic/inc.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/arithmetic/inc.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/facilities cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/arithmetic/dec.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/arithmetic/dec.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/debug cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/facilities/empty.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/facilities/empty.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/debug/error.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/debug/error.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/control/iif.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control/iif.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/control/expr_if.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control/expr_if.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/control/expr_iif.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control/expr_iif.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/control/if.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control/if.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/seq/size.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq/size.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/seq/seq.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq/seq.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/seq/for_each_i.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq/for_each_i.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/detail/dmc cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/seq/elem.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq/elem.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/detail cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/detail/dmc/auto_rec.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/detail/dmc/auto_rec.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/logical cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/detail/auto_rec.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/detail/auto_rec.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/logical/bool.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/logical/bool.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/boost/preprocessor/cat.hpp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/boost/preprocessor/cat.hpp mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg_helper.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg_helper.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/dsc_pub.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/dsc_pub.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/sqlda_pub.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/sqlda_pub.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/blr.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/blr.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/types_pub.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/types_pub.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/inf_pub.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/inf_pub.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/gfix.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/gfix.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/gstat.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/gstat.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/jrd_bugchk.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/jrd_bugchk.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/utl.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/utl.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/gbak.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/gbak.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/sqlwarn.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/sqlwarn.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/jrd.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/jrd.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/dyn.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/dyn.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/fbtracemgr.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/fbtracemgr.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/all.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/all.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/gsec.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/gsec.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/nbackup.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/nbackup.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/fbsvcmgr.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/fbsvcmgr.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/sqlerr.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/sqlerr.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/isql.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/isql.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/impl/msg/dsql.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/impl/msg/dsql.h mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/Message.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/Message.h cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/firebird/fb_c_api.hdr /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/firebird/fb_c_api.hdr mkdir -p /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/ib_util.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/iberror.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/ibase.h /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include/ make -f Makefile.examples -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/ make[4]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples' cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/empbuild.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbuild.epp cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/empddl.sql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empddl.sql cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/empbld.sql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbld.sql rm -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/isql cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/empdml.sql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empdml.sql ln -s /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/isql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/isql cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/indexoff.sql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/indexoff.sql cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/indexon.sql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/indexon.sql cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/job.inp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/job.inp cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/lang.inp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/lang.inp cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/proj.inp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/proj.inp cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/qtr.inp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/qtr.inp cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/ cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/api/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/api/ tar cf - -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/extauth . | tar xf - -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/extauth/ cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/dbcrypt/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/dbcrypt/ cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/include/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/include/ rm -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbuild.fdb cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/interfaces/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/interfaces/ /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/isql -i empbld.sql cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/package/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/package/ can't format message 17:3 -- message file /var/lib/firebird/system/firebird.msg not found CXX="g++" CXXFLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks" make -C /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/extauth OUT=/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/prebuilt INTERMED=/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/extauth cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/stat/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/stat/ cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/udf/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/udf/ make[5]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/extauth' g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++17 -pthread -I../../include -fPIC -DLTC_PTHREAD -DUSE_LTM -DLTM_DESC -c keygen.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/extauth/keygen.o cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/udr/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/udr/ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++17 -pthread -I../../include -fPIC -DLTC_PTHREAD -DUSE_LTM -DLTM_DESC -c TcWrapper.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/extauth/TcWrapper.o cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/object_pascal/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/object_pascal/ cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/object_pascal/[mM]ake* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/object_pascal/ cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/object_pascal/common/*.* /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/object_pascal/common/ cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/readme /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/README cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/empbuild/employe2.sql /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/empbuild/ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++17 -pthread -I../../include -fPIC -DLTC_PTHREAD -DUSE_LTM -DLTM_DESC -c ExtAuth.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/extauth/ExtAuth.o can't format message 17:10 -- message file /var/lib/firebird/system/firebird.msg not found Server version: Firebird/Linux/ARM64 (access method), version "LI-V5.0.4.1812 Firebird 5.0" on disk structure version 13.1 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbuild.epp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbuild.cpp gpre version LI-V5.0.4.1812 Firebird 5.0 Version(s) for database "empbuild.fdb" Firebird/Linux/ARM64 (access method), version "LI-V5.0.4.1812 Firebird 5.0" on disk structure version 13.1 g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbuild.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbuild.o g++ -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 -pthread -L../../lib -Wl,-rpath,'$ORIGIN/../lib' /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/extauth/keygen.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/extauth/TcWrapper.o -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/prebuilt/bin/fbSampleExtAuthKeygen -lfbclient -ltomcrypt -ltommath g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,-rpath,/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -Wl,-rpath,/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib/../intl -Wl,-rpath,@loader_path/../Release/firebird /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbuild.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/common.a -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/empbuild -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat In file included from /usr/include/c++/14/bits/shared_ptr_atomic.h:33, from /usr/include/c++/14/memory:81, from ExtAuth.cpp:28: In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--() [with _ITp = int]’, inlined from ‘virtual int {anonymous}::ExtAuthClient::release()’ at ExtAuth.cpp:175:7, inlined from ‘static int Firebird::IClientBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ExtAuthClient; StatusType = Firebird::ThrowStatusWrapper; Base = Firebird::IAuthImpl<{anonymous}::ExtAuthClient, Firebird::ThrowStatusWrapper, Firebird::Inherit > > > > > > >]’ at ../../include/firebird/IdlFbInterfaces.h:13431:51: /usr/include/c++/14/bits/atomic_base.h:406:34: warning: ‘unsigned int __atomic_sub_fetch_4(volatile void*, unsigned int, int)’ writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 406 | { return __atomic_sub_fetch(&_M_i, 1, int(memory_order_seq_cst)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IClientBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ExtAuthClient; StatusType = Firebird::ThrowStatusWrapper; Base = Firebird::IAuthImpl<{anonymous}::ExtAuthClient, Firebird::ThrowStatusWrapper, Firebird::Inherit > > > > > > >]’: cc1plus: note: destination object is likely at address zero In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator--() [with _ITp = int]’, inlined from ‘virtual int {anonymous}::ExtAuthServer::release()’ at ExtAuth.cpp:319:7, inlined from ‘static int Firebird::IServerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ExtAuthServer; StatusType = Firebird::ThrowStatusWrapper; Base = Firebird::IAuthImpl<{anonymous}::ExtAuthServer, Firebird::ThrowStatusWrapper, Firebird::Inherit > > > > > > >]’ at ../../include/firebird/IdlFbInterfaces.h:13324:51: /usr/include/c++/14/bits/atomic_base.h:406:34: warning: ‘unsigned int __atomic_sub_fetch_4(volatile void*, unsigned int, int)’ writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 406 | { return __atomic_sub_fetch(&_M_i, 1, int(memory_order_seq_cst)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function ‘static int Firebird::IServerBaseImpl::cloopreleaseDispatcher(Firebird::IReferenceCounted*) [with Name = {anonymous}::ExtAuthServer; StatusType = Firebird::ThrowStatusWrapper; Base = Firebird::IAuthImpl<{anonymous}::ExtAuthServer, Firebird::ThrowStatusWrapper, Firebird::Inherit > > > > > > >]’: cc1plus: note: destination object is likely at address zero rm -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/employee.fdb ./empbuild /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/employee.fdb g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -pthread -L../../lib -Wl,-rpath,'$ORIGIN/../lib' /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/extauth/ExtAuth.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/extauth/TcWrapper.o -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/prebuilt/plugins/libfbSampleExtAuth.so -lfbclient -ltomcrypt -ltommath make[5]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/extauth' creating database /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/employee.fdb Turning forced writes off Creating tables Turning off indices and triggers Loading column data Turning on indices and triggers Loading Language arrays Added 10 language arrays. Loading Job blobs Added 30 job requirement descriptions. Loading project blobs Added 16 project descriptions. Loading quarter arrays Added 24 quarter arrays. /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/gfix -write sync /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/employee.fdb chmod 666 /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/employee.fdb rm -f /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/empbuild/employee.fdb cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples/employee.fdb /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/examples/empbuild/employee.fdb make[4]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/examples' make -f Makefile.plugins_examples make[4]: Entering directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/udr/Functions.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/udr/Functions.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/udr/Procedures.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/udr/Procedures.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/udr/Triggers.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/udr/Triggers.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/udr/Zones.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/udr/Zones.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/dbcrypt/DbCrypt.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/dbcrypt/DbCrypt.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/dbcrypt/CryptKeyHolder.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/dbcrypt/CryptKeyHolder.o g++ -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include/gen -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/src/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/boost -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/libcds -DCDS_BUILD_STATIC_LIB -I/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/dbcrypt/CryptApplication.cpp -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/dbcrypt/CryptApplication.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,udrcpp_example.so \ -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/udr/libudrcpp_example.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/udr/Functions.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/udr/Procedures.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/udr/Triggers.o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/udr/Zones.o \ -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/dbcrypt/CryptApplication.cpp: In member function ‘void App::execute(const char*, Action)’: /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/dbcrypt/CryptApplication.cpp:128:23: warning: enumeration value ‘NONE’ not handled in switch [-Wswitch] 128 | switch(a) | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libfbSampleDbCrypt.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libfbSampleDbCrypt.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/dbcrypt/DbCrypt.o -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/dbcrypt/fbSampleDbCrypt.conf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -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,--version-script,empty.vers /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/dbcrypt/CryptApplication.o -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/bin/fbSampleDbCryptApp -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -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,-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 -static-libstdc++ -Wl,--version-script,fbplugin.vers -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,libfbSampleKeyHolder.so.0 -o /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins/libfbSampleKeyHolder.so /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release/examples/dbcrypt/CryptKeyHolder.o -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -latomic -lm -ldecFloat -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/temp/Release -lfbclient -ltommath -ltomcrypt cp /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/examples/dbcrypt/fbSampleKeyHolder.conf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen/Release/firebird/plugins make[4]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make[3]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make[2]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' make[1]: Leaving directory '/builddir/build/BUILD/Firebird-5.0.4.1812-0-source/gen' + cd gen + sed -i '/linkFiles "/d' ./install/makeInstallImage.sh + ./install/makeInstallImage.sh ./ ./libDefault_Profiler.so ./libSrp.so ./libLegacy_UserManager.so ./libfbtrace.so ./libudr_engine.so ./libChaCha.so ./libLegacy_Auth.so ./udr_engine.conf ./libEngine13.so ./udr/ ./udr/libudrcpp_example.so ./udr/libudf_compat.so ./udr/udf_compat.sql + chmod -R u+w buildroot/usr/share/doc/firebird + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C5txFS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64 ++ dirname /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 Firebird-5.0.4.1812-0-source + chmod u+rw,a+rx gen/buildroot//usr/include/firebird/impl + cp -r gen/buildroot/etc gen/buildroot/run gen/buildroot/usr gen/buildroot/var /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64/ + mkdir -p /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64/usr/lib64/pkgconfig + cp -v gen/install/misc/fbclient.pc /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64/usr/lib64/pkgconfig/ 'gen/install/misc/fbclient.pc' -> '/builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64/usr/lib64/pkgconfig/fbclient.pc' + install -m0644 -D firebird.sysusers.conf /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64/usr/lib/sysusers.d/firebird.conf + cd /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64 + rm -vf ./usr/sbin/FirebirdUninstall.sh ./usr/sbin/changeServerMode.sh ./usr/sbin/registerDatabase.sh removed './usr/sbin/FirebirdUninstall.sh' removed './usr/sbin/changeServerMode.sh' removed './usr/sbin/registerDatabase.sh' + mv -v ./usr/sbin/fb_config ./usr/lib64/ renamed './usr/sbin/fb_config' -> './usr/lib64/fb_config' + install -p -m 0755 /builddir/build/SOURCES/fb_config /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64/usr/sbin/fb_config + rm -vf ./usr/include/perf.h + rm -vf './usr/lib64/libicu*.so' + chmod -R u+w ./usr/share/doc/firebird + mv -v ./usr/share/firebird/misc/upgrade/udf/udf_replace.sql ./usr/share/firebird/misc/upgrade/udf/udf_replace.txt ./usr/share/doc/firebird/ renamed './usr/share/firebird/misc/upgrade/udf/udf_replace.sql' -> './usr/share/doc/firebird/udf_replace.sql' renamed './usr/share/firebird/misc/upgrade/udf/udf_replace.txt' -> './usr/share/doc/firebird/udf_replace.txt' + rm -rvf ./usr/share/firebird/misc removed './usr/share/firebird/misc/firebird.service' removed './usr/share/firebird/misc/rc.config.firebird' removed './usr/share/firebird/misc/firebird.init.d.suse' removed './usr/share/firebird/misc/firebird.init.d.slackware' removed './usr/share/firebird/misc/firebird.init.d.mandrake' removed './usr/share/firebird/misc/firebird.init.d.gentoo' removed './usr/share/firebird/misc/firebird.init.d.generic' removed './usr/share/firebird/misc/firebird.init.d.debian' removed './usr/share/firebird/misc/intl.sql' removed directory './usr/share/firebird/misc/upgrade/udf' removed directory './usr/share/firebird/misc/upgrade' removed directory './usr/share/firebird/misc' + mv -v ./etc/firebird/README.md ./etc/firebird/CHANGELOG.md ./usr/share/doc/firebird/ renamed './etc/firebird/README.md' -> './usr/share/doc/firebird/README.md' renamed './etc/firebird/CHANGELOG.md' -> './usr/share/doc/firebird/CHANGELOG.md' + mv -v ./etc/firebird/IDPLicense.txt ./usr/share/doc/firebird/ renamed './etc/firebird/IDPLicense.txt' -> './usr/share/doc/firebird/IDPLicense.txt' + mv -v ./etc/firebird/IPLicense.txt ./usr/share/doc/firebird/ renamed './etc/firebird/IPLicense.txt' -> './usr/share/doc/firebird/IPLicense.txt' + install -p -m 0644 -D /builddir/build/SOURCES/README.Fedora ./usr/share/doc/firebird/README.Fedora + mv -v ./usr/bin/gstat ./usr/bin/gstat-fb renamed './usr/bin/gstat' -> './usr/bin/gstat-fb' + mv -v ./usr/bin/isql ./usr/bin/isql-fb renamed './usr/bin/isql' -> './usr/bin/isql-fb' + rm -rvf ./usr/share/doc/firebird/sample/prebuilt removed './usr/share/doc/firebird/sample/prebuilt/bin/fbSampleDbCryptApp' removed './usr/share/doc/firebird/sample/prebuilt/bin/fbSampleExtAuthKeygen' removed directory './usr/share/doc/firebird/sample/prebuilt/bin' removed './usr/share/doc/firebird/sample/prebuilt/plugins/libfbSampleKeyHolder.so' removed './usr/share/doc/firebird/sample/prebuilt/plugins/libfbSampleDbCrypt.so' removed './usr/share/doc/firebird/sample/prebuilt/plugins/fbSampleKeyHolder.conf' removed './usr/share/doc/firebird/sample/prebuilt/plugins/fbSampleDbCrypt.conf' removed './usr/share/doc/firebird/sample/prebuilt/plugins/libfbSampleExtAuth.so' removed directory './usr/share/doc/firebird/sample/prebuilt/plugins' removed directory './usr/share/doc/firebird/sample/prebuilt' + mkdir -p ./var/log/firebird + mkdir -p ./etc/logrotate.d + echo 1 + sed s@firebird.log@/var/log/firebird/firebird.log@g /builddir/build/SOURCES/firebird-logrotate + mkdir -p ./usr/lib/systemd/system + cp -f /builddir/build/SOURCES/firebird.service ./usr/lib/systemd/system/firebird.service + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 5.0.4.1812-2.el10 --unique-debug-suffix -5.0.4.1812-2.el10.aarch64 --unique-debug-src-base firebird-5.0.4.1812-2.el10.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Firebird-5.0.4.1812-0-source find-debuginfo: starting Extracting debug info from 26 files DWARF-compressing 26 files sepdebugcrcfix: Updated 26 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/firebird-5.0.4.1812-2.el10.aarch64 cpio: gen/cs_ksc5601.h: Cannot stat: No such file or directory 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 *** WARNING: ./usr/src/debug/firebird-5.0.4.1812-2.el10.aarch64/src/common/isc_sync.cpp is executable but has no shebang, removing executable bit mangling shebang in /usr/lib64/fb_config from /bin/sh to #!/usr/bin/sh + /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 Processing files: firebird-5.0.4.1812-2.el10.aarch64 Provides: config(firebird) = 5.0.4.1812-2.el10 firebird = 5.0.4.1812-2.el10 firebird(aarch-64) = 5.0.4.1812-2.el10 group(firebird) libChaCha.so.0()(64bit) libDefault_Profiler.so.0()(64bit) libEngine13.so()(64bit) libLegacy_Auth.so.0()(64bit) libLegacy_UserManager.so.0()(64bit) libSrp.so.0()(64bit) libfbintl.so.1()(64bit) libfbtrace.so.0()(64bit) libudf_compat.so()(64bit) libudr_engine.so.0()(64bit) user(firebird) = dSBmaXJlYmlyZCAtIC0gLSAt Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh /usr/sbin/groupdel /usr/sbin/userdel Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libfbclient.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libtomcrypt.so.1()(64bit) libtommath.so.1()(64bit) rtld(GNU_HASH) Recommends: group(firebird) logrotate user(firebird) Processing files: firebird-devel-5.0.4.1812-2.el10.aarch64 Provides: firebird-devel = 5.0.4.1812-2.el10 firebird-devel(aarch-64) = 5.0.4.1812-2.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Processing files: libib-util-5.0.4.1812-2.el10.aarch64 Provides: libib-util = 5.0.4.1812-2.el10 libib-util(aarch-64) = 5.0.4.1812-2.el10 libib_util.so()(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.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Processing files: libfbclient2-5.0.4.1812-2.el10.aarch64 Provides: libfbclient.so.2()(64bit) libfbclient2 = 5.0.4.1812-2.el10 libfbclient2(aarch-64) = 5.0.4.1812-2.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libtommath.so.1()(64bit) rtld(GNU_HASH) Processing files: libfbclient2-devel-5.0.4.1812-2.el10.aarch64 Provides: libfbclient2-devel = 5.0.4.1812-2.el10 libfbclient2-devel(aarch-64) = 5.0.4.1812-2.el10 pkgconfig(fbclient) = 5.0.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libfbclient.so.2()(64bit) Processing files: firebird-doc-5.0.4.1812-2.el10.noarch Provides: firebird-doc = 5.0.4.1812-2.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: firebird-utils-5.0.4.1812-2.el10.aarch64 Provides: firebird-utils = 5.0.4.1812-2.el10 firebird-utils(aarch-64) = 5.0.4.1812-2.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libedit.so.0()(64bit) libfbclient.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Processing files: firebird-examples-5.0.4.1812-2.el10.noarch Provides: firebird-examples = 5.0.4.1812-2.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: group(firebird) user(firebird) Processing files: firebird-debugsource-5.0.4.1812-2.el10.aarch64 Provides: firebird-debugsource = 5.0.4.1812-2.el10 firebird-debugsource(aarch-64) = 5.0.4.1812-2.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: firebird-debuginfo-5.0.4.1812-2.el10.aarch64 Provides: debuginfo(build-id) = 11fe1c78e09ec8fbf58068bd28b2f5c4ce8c0042 debuginfo(build-id) = 2533e945e9b4e7f347368ef5daa53c0644238383 debuginfo(build-id) = 3dc7af50a961b6845042192c44d1cbf30b12ffbe debuginfo(build-id) = 62542931027166325f4fc9edc1415332409a6469 debuginfo(build-id) = 6786df9d02c1853c2f397fbcaae7ac8fd33ab4a3 debuginfo(build-id) = 7e0435cc8ba1ad26fe1bdfab382dee8af9d91e8a debuginfo(build-id) = 8e648130c648d59091d979b88175d038b2b8fa67 debuginfo(build-id) = 8f1b27ded7ec0efd017c28a6c600b9c8b2d3b21a debuginfo(build-id) = 97f1ff1b96780b2e9326e4b77f06f380817cb842 debuginfo(build-id) = aec4ae7ef18686a6e0b7ec5491adea8fc9c6f6d4 debuginfo(build-id) = c053dc39fb9f31fe9c7dc26723b61683e09fc647 debuginfo(build-id) = c230d4225c11d65fbde644fdc215f7cf8abcc0df debuginfo(build-id) = e681c256b9463a7ed2ce14e5b72e7c4f59802a56 debuginfo(build-id) = e92762d853f6008e209a49da534b89f1fb98fddc debuginfo(build-id) = fdf151e2708591872d0057ef6f1f8e81b4e1d4bb firebird-debuginfo = 5.0.4.1812-2.el10 firebird-debuginfo(aarch-64) = 5.0.4.1812-2.el10 libChaCha.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libDefault_Profiler.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libEngine13.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libLegacy_Auth.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libLegacy_UserManager.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libSrp.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libfbtrace.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libudf_compat.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libudr_engine.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) libudrcpp_example.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: firebird-debugsource(aarch-64) = 5.0.4.1812-2.el10 Processing files: libib-util-debuginfo-5.0.4.1812-2.el10.aarch64 Provides: debuginfo(build-id) = 709e29df3bdd863c03482d314338cc30953488ea libib-util-debuginfo = 5.0.4.1812-2.el10 libib-util-debuginfo(aarch-64) = 5.0.4.1812-2.el10 libib_util.so-5.0.4.1812-2.el10.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: firebird-debugsource(aarch-64) = 5.0.4.1812-2.el10 Processing files: libfbclient2-debuginfo-5.0.4.1812-2.el10.aarch64 Provides: debuginfo(build-id) = 8466651f4dc6bdc588d3e7f7c804edb011742401 libfbclient.so.5.0.4-5.0.4.1812-2.el10.aarch64.debug()(64bit) libfbclient2-debuginfo = 5.0.4.1812-2.el10 libfbclient2-debuginfo(aarch-64) = 5.0.4.1812-2.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: firebird-debugsource(aarch-64) = 5.0.4.1812-2.el10 Processing files: firebird-utils-debuginfo-5.0.4.1812-2.el10.aarch64 Provides: debuginfo(build-id) = 00f142a9366e9512a1b92d30654b915803c3d79a debuginfo(build-id) = 0b069a914dfbecb0c8f92ee237d30b0e891b5496 debuginfo(build-id) = 26a0d26372b0b2d8aa03707bf044dc7ae798e0e8 debuginfo(build-id) = 4406688e7a65283e19645361ce6ca1f828c0191a debuginfo(build-id) = 4607813f5f746b36035a02b1fdd825e9a6366649 debuginfo(build-id) = ad33821f5ef50a4170bbb25be5c5e744ccea1d8c debuginfo(build-id) = b4c68675142fb54636489074e9ea87c88e8c2f12 debuginfo(build-id) = d1988f3d48c19a075b69e6432c29401dc3ba4eed debuginfo(build-id) = d3545d9841e30e2237ebd1f17f99980b5aed0a0b firebird-utils-debuginfo = 5.0.4.1812-2.el10 firebird-utils-debuginfo(aarch-64) = 5.0.4.1812-2.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: firebird-debugsource(aarch-64) = 5.0.4.1812-2.el10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64 Wrote: /builddir/build/RPMS/firebird-debugsource-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-utils-debuginfo-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/libfbclient2-debuginfo-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/libfbclient2-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-examples-5.0.4.1812-2.el10.noarch.rpm Wrote: /builddir/build/RPMS/firebird-doc-5.0.4.1812-2.el10.noarch.rpm Wrote: /builddir/build/RPMS/libib-util-debuginfo-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/libib-util-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/libfbclient2-devel-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-devel-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-utils-5.0.4.1812-2.el10.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-debuginfo-5.0.4.1812-2.el10.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fAp7z8 + umask 022 + cd /builddir/build/BUILD + cd Firebird-5.0.4.1812-0-source + /usr/bin/rm -rf /builddir/build/BUILDROOT/firebird-5.0.4.1812-2.el10.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.qg2Cnj + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/Firebird-5.0.4.1812-0-source-SPECPARTS + rm -rf Firebird-5.0.4.1812-0-source Firebird-5.0.4.1812-0-source.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild firebird-5.0.4.1812-2.el10.src.rpm Finish: build phase for firebird-5.0.4.1812-2.el10.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/centos-stream+epel-10-aarch64-1784157143.919165/root/var/log/dnf.rpm.log /var/lib/mock/centos-stream+epel-10-aarch64-1784157143.919165/root/var/log/dnf.librepo.log /var/lib/mock/centos-stream+epel-10-aarch64-1784157143.919165/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/firebird-5.0.4.1812-2.el10.src.rpm) Config(child) 7 minutes 59 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": "firebird-debuginfo", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "libib-util", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "firebird", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "src" }, { "name": "firebird-doc", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "noarch" }, { "name": "firebird-devel", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "firebird-debugsource", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "firebird", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "firebird-utils", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "libib-util-debuginfo", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "firebird-utils-debuginfo", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "libfbclient2-debuginfo", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "libfbclient2-devel", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" }, { "name": "firebird-examples", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "noarch" }, { "name": "libfbclient2", "epoch": null, "version": "5.0.4.1812", "release": "2.el10", "arch": "aarch64" } ] } RPMResults finished